@matheusbsbs / matheus-bagliano / commits / 5a7ebd4faa
Fork 0

bash: remove redundant check for 'git stash apply' options

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>

SZEDER Gábor committed Aug 6, 2008 at 17:45 UTC 5a7ebd4faab1430a6d4daef0636345709139e3b4
1 file changed +1 -1
contrib/completion/git-completion.bash
+1 -1
@@ -1439,7 +1439,7 @@ _git_stash ()
1439 apply,--*)
1440 __gitcomp "--index"
1441 ;;
1442 - show,--*|apply,--*|drop,--*|pop,--*|branch,--*)
1442 + show,--*|drop,--*|pop,--*|branch,--*)
1443 COMPREPLY=()
1444 ;;
1445 show,*|apply,*|drop,*|pop,*|branch,*)