Subject: [PATCH] completion: add --no-edit to git-commit

From: Yacine Belkadi <[email-masked]>
Date: Sun, 16 Sep 2012 18:06:11 +0200

Signed-off-by: Yacine Belkadi <[email-masked]>
---
 contrib/completion/git-completion.bash |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index 1b43329..be800e0 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1018,7 +1018,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=
-- 
1.7.9.5