summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 79b1138)
raw | patch | inline | side by side (parent: 79b1138)
author | SZEDER Gábor <szeder@ira.uka.de> | |
Tue, 4 Mar 2008 18:00:58 +0000 (19:00 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 5 Mar 2008 20:10:29 +0000 (12:10 -0800) |
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>
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 |
index 8f70e1efc11553ce2360fab8693e2749a3fc36b4..8d6733abe4063cebbb0ac2d6e020077ed78fe438 100755 (executable)
_git_branch ()
{
- __gitcomp "$(__git_refs)"
+ case "${COMP_WORDS[COMP_CWORD]}" in
+ --*=*) COMPREPLY=() ;;
+ --*)
+ __gitcomp "
+ --color --no-color --verbose --abbrev= --no-abbrev
+ --track --no-track
+ "
+ ;;
+ *) __gitcomp "$(__git_refs)" ;;
+ esac
}
_git_bundle ()