diff options
author | Phillip Wood <phillip.wood@dunelm.org.uk> | 2022-10-12 11:35:11 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-10-17 21:55:03 +0200 |
commit | 6159e7add493cf1d62b4817eb86ac8890e768c17 (patch) | |
tree | b520c6057f8a53256737c6375e528d333ebb1fdc /khash.h | |
parent | rebase --apply: make reflog messages match rebase --merge (diff) | |
download | git-6159e7add493cf1d62b4817eb86ac8890e768c17.tar.xz git-6159e7add493cf1d62b4817eb86ac8890e768c17.zip |
rebase --abort: improve reflog message
When aborting a rebase the reflog message looks like
rebase (abort): updating HEAD
which is not very informative. Improve the message by mentioning the
branch that we are returning to as we do at the end of a successful
rebase so it looks like.
rebase (abort): returning to refs/heads/topic
If GIT_REFLOG_ACTION is set in the environment we no longer omit
"(abort)" from the reflog message. We don't omit "(start)" and
"(finish)" when starting and finishing a rebase in that case so we
shouldn't omit "(abort)".
Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'khash.h')
0 files changed, 0 insertions, 0 deletions