Skip to content

Commit

Permalink
bash: remove redundant check for 'git stash apply' options
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
SZEDER Gábor authored and Junio C Hamano committed Aug 8, 2008
1 parent b13d440 commit 5a7ebd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/completion/git-completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -1439,7 +1439,7 @@ _git_stash ()
apply,--*)
__gitcomp "--index"
;;
show,--*|apply,--*|drop,--*|pop,--*|branch,--*)
show,--*|drop,--*|pop,--*|branch,--*)
COMPREPLY=()
;;
show,*|apply,*|drop,*|pop,*|branch,*)
Expand Down

0 comments on commit 5a7ebd4

Please sign in to comment.