From: Shawn O. Pearce Date: Wed, 06 Aug 2008 15:47:10 GMT Subject: Re: [PATCH] bash: remove redundant check for 'git stash apply' options Message-ID: <20080806154710.GB28749@spearce.org> In-Reply-To: <1218037523-32266-1-git-send-email-szeder@ira.uka.de> SZEDER GGGbor wrote: > 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 Oops. I should have caught that. ACK. > 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,*) -- Shawn.