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>
SZEDER Gábor committed
Jan 16, 2009 at 17:01 UTC
7de931c3c2c7850dd7f26c24fbe9d12d223f55f6
1 file changed
-2
contrib/completion/git-completion.bash
-2
@@ -643,7 +643,6 @@ _git_branch ()
643
done
644
645
case "${COMP_WORDS[COMP_CWORD]}" in
646
- --*=*) COMPREPLY=() ;;
646
--*)
647
__gitcomp "
648
--color --no-color --verbose --abbrev= --no-abbrev
@@ -1689,7 +1688,6 @@ _git ()
1688
1689
if [ -z "$command" ]; then
1690
case "${COMP_WORDS[COMP_CWORD]}" in
1692
- --*=*) COMPREPLY=() ;;
1691
--*) __gitcomp "
1692
--paginate
1693
--no-pager