git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
YBYacine Belkadi <yacine.belkadi.1@gmail.com>
Date
Sep 16, 2012, 16:06 UTC
Message-ID
<5055F8F3.7050705@gmail.com>
Signed-off-by: Yacine Belkadi <yacine.belkadi.1@gmail.com>
---
 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
Next: Junio C Hamano
Message 1 of 2 in “completion: add --no-edit to git-commit”
  1. completion: add --no-edit to git-commitYacine Belkadi, Sep 16, 2012
  2. Junio C HamanoSep 17, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.