Code

bash: remove redundant check for 'git stash apply' options
authorSZEDER Gábor <szeder@ira.uka.de>
Wed, 6 Aug 2008 15:45:23 +0000 (17:45 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 8 Aug 2008 23:10:39 +0000 (16:10 -0700)
It will never trigger anyway because of the first check, and even if it
would, it would not offer the command line option.

Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash

index 3396e35d76dd5acbe6901456bb3e68db03b780c0..78189c1b7bca120d896bab7a6160da1f436b4ff1 100755 (executable)
@@ -1439,7 +1439,7 @@ _git_stash ()
                apply,--*)
                        __gitcomp "--index"
                        ;;
-               show,--*|apply,--*|drop,--*|pop,--*|branch,--*)
+               show,--*|drop,--*|pop,--*|branch,--*)
                        COMPREPLY=()
                        ;;
                show,*|apply,*|drop,*|pop,*|branch,*)