summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorYacine Belkadi <yacine.belkadi.1@gmail.com>2012-09-16 18:06:11 +0200
committerJunio C Hamano <gitster@pobox.com>2012-09-16 22:05:07 -0700
commit7dd9ab0c8b3ca7ae03d54e741e7a554c192ef02f (patch)
tree0a61bdf4a63f9b8060385917680d2053f85aa560 /contrib
parentd4d39bc32db51928b190c3128ced6194b81b3a99 (diff)
downloadgit-7dd9ab0c8b3ca7ae03d54e741e7a554c192ef02f.tar.gz
completion: add --no-edit to git-commit
Signed-off-by: Yacine Belkadi <yacine.belkadi.1@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/completion/git-completion.bash3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index ffedce751c..d743e56d18 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -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=