# [PATCH 2/5] bash: removed unnecessary checks for long options with argument

2 messages from 2009-01-16 to 2009-01-16. Participants: SZEDER Gábor.
Thread: https://gitlist.dev/t/17206

## SZEDER Gábor, 2009-01-16 16:01

Subject: [PATCH 2/5] bash: removed unnecessary checks for long options with argument
Message-ID: <1232121717-10145-1-git-send-email-szeder@ira.uka.de>
URL: https://gitlist.dev/e/1232121717-10145-1-git-send-email-szeder%40ira.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 4292b23..c35f86d 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
@@ -1692,7 +1691,6 @@ _git ()
 
 	if [ -z "$command" ]; then
 		case "${COMP_WORDS[COMP_CWORD]}" in
-		--*=*) COMPREPLY=() ;;
 		--*)   __gitcomp "
 			--paginate
 			--no-pager
-- 
1.6.1.198.geb475f

```

## SZEDER Gábor, 2009-01-16 16:09

Subject: Re: [PATCH 2/5] bash: removed unnecessary checks for long options with argument
Message-ID: <20090116160947.GR9794@neumann>
URL: https://gitlist.dev/e/20090116160947.GR9794%40neumann
In-Reply-To: <1232121717-10145-1-git-send-email-szeder@ira.uka.de>

```
Oh, I have run 'git format-patch master.. && rm
patches-i-dont-want-to-submit-yet' and haven't noticed that
'format-patch' autonumbered the patches.  So, there are only three
patches: 2, 3, 5.

Gábor

```
