jonas/tig — pull request #52 by v0n (2012-05-11 04:09:37+00:00)
Title: Add support to confirm the execution of a binding

* User-defined commands prefix with a '?' will be prompted for
confirmation before being executed. This can be useful for sensible
commands such as `git revert`, etc.
* By the way, the built-in 'G' binding for `git gc`, and 'C' binding for
`git cherry-pick` now need confirmation.

Examples of bindings:

# Ask before rebasing
bind main B !?git rebase -i %(commit)
# Ask before cleaning but do not display output
bind generic ! !@?git clean -fdx

Signed-off-by: Vivien Didelot