Code

completion: also complete git-log's --left-right and --cherry-pick option
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Wed, 29 Aug 2007 14:15:34 +0000 (15:15 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 29 Aug 2007 20:19:41 +0000 (13:19 -0700)
Both --left-right and --cherry-pick are particularly long to type, so
help the user there.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash

index a652c88b27cc29f14caba12549770d66cb4e10e4..5ed18215fdefe1c4864ae5c6f01a86a9ff36d012 100755 (executable)
@@ -641,6 +641,7 @@ _git_log ()
                        --all-match
                        --pretty= --name-status --name-only --raw
                        --not --all
+                       --left-right --cherry-pick
                        "
                return
                ;;