chiark / gitweb /
Dgit.pm: resolve_upstream_version: Report tag, where sensible
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 17 Jul 2019 02:16:29 +0000 (03:16 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 17 Jul 2019 02:25:44 +0000 (03:25 +0100)
commit024f99fe973837436bfff54c78b8a1fb1c698c61
tree2ce4e7d878f48786b0877696f818dd90284ce31a
parent4142f6fcd65c1f19e131756e8f5a5ef8f8f5bfa2
Dgit.pm: resolve_upstream_version: Report tag, where sensible

This affect what is show in commit messages (including the parseable
parts) made by dgit and git-debrebase.  Now they prefer to refer to
the tag name if the caller specified refs/tags/ and the tag name is
a nice one.

This is not expected to make much difference for human callers (who
will probably not explicitly qualify their tag refs).  But it will
make a difference for scripts.

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