jonas/tig — pull request #173 by vivien (2013-07-26 15:05:22+00:00)
Title: [RFC] Introduce the stash view

This patch adds a new "stash" view, bound to the 'y' key.
This view displays the list of stashes. Pressing Enter on one of them
displays the corresponding change in a split view.

A new %(stash) variable is added for bindings and commands.

Running 'tig stash' opens directly the stash view.

A built-in command to pop the current stash is bound to 'P' in this
view. Other bindings may be added in the ~/.tigrc file, for instance:

bind stash D !?git stash drop %(stash)
bind stash A !?git stash apply %(stash)
bind status S !?git stash save --keep-index %(prompt)

References: GH#169 GH#159

Signed-off-by: Vivien Didelot