Skip to content

Commit 77653ab

Browse files
tmatilaigitster
authored andcommitted
completion: commit --fixup and --squash
Signed-off-by: Teemu Matilainen <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f8e49e1 commit 77653ab

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

contrib/completion/git-completion.bash

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1287,7 +1287,8 @@ _git_commit ()
12871287
" "" "${cur##--cleanup=}"
12881288
return
12891289
;;
1290-
--reuse-message=*|--reedit-message=*)
1290+
--reuse-message=*|--reedit-message=*|\
1291+
--fixup=*|--squash=*)
12911292
__gitcomp "$(__git_refs)" "" "${cur#*=}"
12921293
return
12931294
;;
@@ -1302,7 +1303,7 @@ _git_commit ()
13021303
--dry-run --reuse-message= --reedit-message=
13031304
--reset-author --file= --message= --template=
13041305
--cleanup= --untracked-files --untracked-files=
1305-
--verbose --quiet
1306+
--verbose --quiet --fixup= --squash=
13061307
"
13071308
return
13081309
esac

0 commit comments

Comments
 (0)