Commit 3413485f authored by Ian Jackson's avatar Ian Jackson

ref updates: Honour GIT_REFLOG_ACTION everywhere.

Specifically, every time we call git_update_ref_cmd.

Closes:#901935.
Signed-off-by: Ian Jackson's avatarIan Jackson <ijackson@chiark.greenend.org.uk>
parent 11c8c965
......@@ -496,6 +496,8 @@ sub git_update_ref_cmd {
# returns qw(git update-ref), qw(-m), @_
# except that message may be modified to honour GIT_REFLOG_ACTION
my $msg = shift @_;
my $rla = $ENV{GIT_REFLOG_ACTION};
$msg = "$rla: $msg" if length $rla;
return qw(git update-ref -m), $msg, @_;
}
......
dgit (5.3~) unstable; urgency=medium
*
Bugfixes:
* Honour GIT_REFLOG_ACTION everywhere. Closes:#901935.
--
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment