[PATCH] bash: removed unnecessary checks for long options with argument
- From
SZEDER Gábor <szeder@ira.uka.de>
- Date
- Mar 14, 2008, 11:15 UTC
- Message-ID
- <1205493313-4717-2-git-send-email-szeder@ira.uka.de>
- In-Reply-To
- <1205493313-4717-1-git-send-email-szeder@ira.uka.de>
__gitcomp takes care of it since 5447aac7 (bash: fix long option with argument double completion, 2008-03-05)
Signed-off-by: SZEDER Gábor <szeder@ira.uka.de> --- contrib/completion/git-completion.bash | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 2265757..0bb78e7 100755 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -539,7 +539,6 @@ _git_branch () done case "${COMP_WORDS[COMP_CWORD]}" in - --*=*) COMPREPLY=() ;; --*) __gitcomp " --color --no-color --verbose --abbrev= --no-abbrev @@ -1288,7 +1287,6 @@ _git () if [ -z "$command" ]; then case "${COMP_WORDS[COMP_CWORD]}" in - --*=*) COMPREPLY=() ;; --*) __gitcomp " --paginate --no-pager
-- 1.5.4.4.532.ga6828