Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
bash: remove unnecessary checks for long options with argument
author
SZEDER Gábor
<szeder@ira.uka.de>
Fri, 16 Jan 2009 16:01:57 +0000
(17:01 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 18 Jan 2009 02:22:21 +0000
(18:22 -0800)
__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>
contrib/completion/git-completion.bash
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
6b89d06
)
diff --git
a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index f8b845a4ac9cbe14d046636b81f693874f973242..9021220421c3e42decef049e30e46a290ffdc113 100755
(executable)
--- 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