Re: [PATCH] bash: remove redundant check for 'git stash apply' options
SZEDER GGGbor <szeder@ira.uka.de> 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 <szeder@ira.uka.de>
Oops. I should have caught that. ACK.
Show 13 quoted lines
> 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.