Skip to content

Commit

Permalink
completion: commit --fixup and --squash
Browse files Browse the repository at this point in the history
Signed-off-by: Teemu Matilainen <teemu.matilainen@iki.fi>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Teemu Matilainen authored and Junio C Hamano committed Oct 6, 2011
1 parent f8e49e1 commit 77653ab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions contrib/completion/git-completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -1287,7 +1287,8 @@ _git_commit ()
" "" "${cur##--cleanup=}"
return
;;
--reuse-message=*|--reedit-message=*)
--reuse-message=*|--reedit-message=*|\
--fixup=*|--squash=*)
__gitcomp "$(__git_refs)" "" "${cur#*=}"
return
;;
Expand All @@ -1302,7 +1303,7 @@ _git_commit ()
--dry-run --reuse-message= --reedit-message=
--reset-author --file= --message= --template=
--cleanup= --untracked-files --untracked-files=
--verbose --quiet
--verbose --quiet --fixup= --squash=
"
return
esac
Expand Down

0 comments on commit 77653ab

Please sign in to comment.