From: SZEDER Gábor Date: Fri, 16 Jan 2009 16:01:57 +0000 (+0100) Subject: bash: remove unnecessary checks for long options with argument X-Git-Tag: v1.6.2-rc0~148 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7de931c3c2c7850dd7f26c24fbe9d12d223f55f6;p=git.git bash: remove unnecessary checks for long options with argument __gitcomp takes care of it since 5447aac7 (bash: fix long option with argument double completion, 2008-03-05) Signed-off-by: SZEDER Gábor Acked-by: Shawn O. Pearce Signed-off-by: Junio C Hamano --- diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index f8b845a4a..902122042 100755 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -643,7 +643,6 @@ _git_branch () done case "${COMP_WORDS[COMP_CWORD]}" in - --*=*) COMPREPLY=() ;; --*) __gitcomp " --color --no-color --verbose --abbrev= --no-abbrev @@ -1689,7 +1688,6 @@ _git () if [ -z "$command" ]; then case "${COMP_WORDS[COMP_CWORD]}" in - --*=*) COMPREPLY=() ;; --*) __gitcomp " --paginate --no-pager