From: Ian Jackson Date: Tue, 26 Jun 2018 17:43:49 +0000 (+0100) Subject: git-debrebase new-upstream: Provide better reflog entries X-Git-Tag: archive/debian/5.3~8 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=2093c3c0d973b6e9d4b7085ac3084de94550744f;ds=sidebyside git-debrebase new-upstream: Provide better reflog entries By setting GIT_REFLOG_ACTION. Closes:#901925. Signed-off-by: Ian Jackson --- diff --git a/debian/changelog b/debian/changelog index 70d600ff..0dc30141 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ dgit (5.3~) unstable; urgency=medium Bugfixes: * Honour GIT_REFLOG_ACTION everywhere. Closes:#901935. + * git-debrebase new-upstream: Provide better reflog entries + by setting GIT_REFLOG_ACTION. Closes:#901925. -- diff --git a/git-debrebase b/git-debrebase index fe11251a..658884d2 100755 --- a/git-debrebase +++ b/git-debrebase @@ -1351,6 +1351,8 @@ END 'launder for new upstream'; my @cmd = (@git, qw(rebase --onto), $new_bw, $old_bw, @ARGV); + local $ENV{GIT_REFLOG_ACTION} = git_reflog_action_msg + "debrebase new-upstream $new_version: rebase"; runcmd @cmd; # now it's for the user to sort out }