OSDN Git Service

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 438e193..c62b877 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