completion: add --no-edit to git-commit
authorYacine Belkadi <yacine.belkadi.1@gmail.com>
Sun, 16 Sep 2012 16:06:11 +0000 (18:06 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 17 Sep 2012 05:05:07 +0000 (22:05 -0700)
Signed-off-by: Yacine Belkadi <yacine.belkadi.1@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash

index ffedce751c80eac032843f6ecad50246cfc28035..d743e56d18951da435d8ffe282c06450f2dfac39 100644 (file)
@@ -1014,7 +1014,8 @@ _git_commit ()
        --*)
                __gitcomp "
                        --all --author= --signoff --verify --no-verify
-                       --edit --amend --include --only --interactive
+                       --edit --no-edit
+                       --amend --include --only --interactive
                        --dry-run --reuse-message= --reedit-message=
                        --reset-author --file= --message= --template=
                        --cleanup= --untracked-files --untracked-files=