OSDN Git Service

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 3396e35..78189c1 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,*)