]> git.ipfire.org Git - thirdparty/git.git/commit
rebase -i: only write fixup-message when it's needed
authorPhillip Wood <phillip.wood@dunelm.org.uk>
Tue, 19 Jan 2021 07:40:56 +0000 (13:10 +0530)
committerJunio C Hamano <gitster@pobox.com>
Thu, 21 Jan 2021 01:50:11 +0000 (17:50 -0800)
commiteab0df0e5b96ea8ca60f030dd8c5f6e5926988de
tree4ff99c4702c8030bb6c8051de117f47f9192c5ba
parent66e871b6647ffea61a77a0f82c7ef3415f1ee79c
rebase -i: only write fixup-message when it's needed

The file "$GIT_DIR/rebase-merge/fixup-message" is only used for fixup
commands, there's no point in writing it for squash commands as it is
immediately deleted.

Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Reviewed-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Charvi Mendiratta <charvi077@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sequencer.c