Skip to content

Commit 7dd9ab0

Browse files
ybelkadigitster
authored andcommitted
completion: add --no-edit to git-commit
Signed-off-by: Yacine Belkadi <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent d4d39bc commit 7dd9ab0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contrib/completion/git-completion.bash

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1014,7 +1014,8 @@ _git_commit ()
10141014
--*)
10151015
__gitcomp "
10161016
--all --author= --signoff --verify --no-verify
1017-
--edit --amend --include --only --interactive
1017+
--edit --no-edit
1018+
--amend --include --only --interactive
10181019
--dry-run --reuse-message= --reedit-message=
10191020
--reset-author --file= --message= --template=
10201021
--cleanup= --untracked-files --untracked-files=

0 commit comments

Comments
 (0)