[PATCH] bash: remove redundant check for 'git stash apply' options
- From
SZEDER Gábor <szeder@ira.uka.de>
- Date
- Aug 6, 2008, 15:45 UTC
- Message-ID
- <1218037523-32266-1-git-send-email-szeder@ira.uka.de>
- In-Reply-To
- <1217915438-6838-6-git-send-email-lee.marlow@gmail.com>
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> --- contrib/completion/git-completion.bash | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 447cb06..5d60f82 100755 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -1427,7 +1427,7 @@ _git_stash () apply,--*) __gitcomp "--index" ;; - show,--*|apply,--*|drop,--*|pop,--*|branch,--*) + show,--*|drop,--*|pop,--*|branch,--*) COMPREPLY=() ;; show,*|apply,*|drop,*|pop,*|branch,*)
-- 1.6.0.rc1.104.gf5b36