Code

bash: add new 'git stash' subcommands
authorSZEDER Gábor <szeder@ira.uka.de>
Mon, 10 Mar 2008 15:02:24 +0000 (16:02 +0100)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 10 Mar 2008 23:45:20 +0000 (19:45 -0400)
Namely 'save', 'drop', 'pop' and 'create'

Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
contrib/completion/git-completion.bash

index 438e193bd0de7506bf3d8b286f655acb97a776bc..c62b877aebfb87d4e6fdd9f70f492d6e3e7fa264 100755 (executable)
@@ -1119,7 +1119,7 @@ _git_show ()
 
 _git_stash ()
 {
-       local subcommands='list show apply clear'
+       local subcommands='save list show apply clear drop pop create'
        if [ -z "$(__git_find_subcommand "$subcommands")" ]; then
                __gitcomp "$subcommands"
        fi