aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorPhillip Wood <phillip.wood@dunelm.org.uk>2022-10-12 09:35:07 +0000
committerJunio C Hamano <gitster@pobox.com>2022-10-17 12:55:03 -0700
commitda1d63363f13d4d65c59564c74fd8dd598b39c49 (patch)
tree29741a3e45957c2f3c7a31e7b6baf720f640ce09 /builtin/commit.c
parentt3406: rework rebase reflog tests (diff)
downloadgit-da1d63363f13d4d65c59564c74fd8dd598b39c49.tar.gz
git-da1d63363f13d4d65c59564c74fd8dd598b39c49.zip
rebase --merge: fix reflog when continuing
The reflog message for a conflict resolution committed by "rebase --continue" looks like rebase (continue): commit subject line Unfortunately the reflog message each subsequent pick look like rebase (continue) (pick): commit subject line Fix this by setting the reflog message for "rebase --continue" in sequencer_continue() so it does not affect subsequent commits. This introduces a memory leak similar to the one leaking GIT_REFLOG_ACTION in pick_commits(). Both of these will be fixed in a future series that stops the sequencer calling setenv(). If we fail to commit the staged changes then we error out so GIT_REFLOG_ACTION does not need to be reset in that case. Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions