chiark / gitweb /
ref updates: Introduce update_ref_cmd
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 26 Jun 2018 17:25:13 +0000 (18:25 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 26 Jun 2018 18:20:52 +0000 (19:20 +0100)
commit11c8c965c3419fddf2444a7497b45b65f05d3db5
tree41657d3be31ab8fe808b040834a1dda42db6173d
parent3c2fdc3b9e35352aabbc8b09c286aba2fbfab2ac
ref updates: Introduce update_ref_cmd

Currently the comment about `message may be modified' is rather
misleading, since there is no code to do that - but it explains the
semantics of the new function.

We change the appropriate subset of the git update-ref call sites.
These are precisely the ones where we previously specified a message
with -m, except for the quilt cache (where we use the reflog message
as the cache lookup key).

The calls are updates of internal refs etc.

We end up using qw(git) rather than @git.
Otherwise no functional change.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Debian/Dgit.pm
dgit
git-debrebase