Code

completion: add branch options --contains --merged --no-merged
authorEric Raible <raible@gmail.com>
Mon, 7 Jul 2008 20:41:54 +0000 (13:41 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 8 Jul 2008 23:51:33 +0000 (16:51 -0700)
Signed-off-by: Eric Raible <raible@gmail.com>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash

index d54aa8d62c86622cd997983f26d86ccf2c85b45b..cc75ad7ccdf2e68e4e73d448fc1baa8cdd712df4 100755 (executable)
@@ -546,7 +546,7 @@ _git_branch ()
        --*)
                __gitcomp "
                        --color --no-color --verbose --abbrev= --no-abbrev
-                       --track --no-track
+                       --track --no-track --contains --merged --no-merged
                        "
                ;;
        *)