aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorSZEDER Gábor <szeder@ira.uka.de>2009-01-16 17:01:57 +0100
committerJunio C Hamano <gitster@pobox.com>2009-01-17 18:22:21 -0800
commit7de931c3c2c7850dd7f26c24fbe9d12d223f55f6 (patch)
tree3bf1e3710651fe306679f56af00e40c23a93706a /contrib
parent6b89d068bd78b978743e96de7827d8a2a4d9f200 (diff)
downloadgit-7de931c3c2c7850dd7f26c24fbe9d12d223f55f6.tar.gz
git-7de931c3c2c7850dd7f26c24fbe9d12d223f55f6.tar.xz
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 <szeder@ira.uka.de> Acked-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/completion/git-completion.bash2
1 files changed, 0 insertions, 2 deletions
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