]> asedeno.scripts.mit.edu Git - git.git/commitdiff
bash: add missing 'git merge' options
authorSZEDER Gábor <szeder@ira.uka.de>
Sun, 15 Feb 2009 13:25:11 +0000 (14:25 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Feb 2009 22:51:24 +0000 (14:51 -0800)
Namely: '--commit', '--stat', '--no-squash', '--ff', '--no-ff'.

One might wonder why add options that specify the default behaviour
anyway (e.g. '--commit', '--no-squash', etc.).  Users can override the
default with config options (e.g. 'branch.<name>.mergeoptions',
'merge.log'), but sometimes might still need the default behaviour.

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

index 412d2c0dab8118689c37b8ecbe29c7c0b2a2575a..0bb768f1c10494128fce8ecd496efed4cfb9c211 100755 (executable)
@@ -1037,6 +1037,7 @@ _git_merge ()
        --*)
                __gitcomp "
                        --no-commit --no-stat --log --no-log --squash --strategy
+                       --commit --stat --no-squash --ff --no-ff
                        "
                return
        esac