diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-05-31 14:08:26 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-05-31 14:08:26 -0700 |
commit | 9ee8f9409cab2a52e133c63bdd0acce24f99e73f (patch) | |
tree | ae5415974eeddde5030d4be51dcf531f354b1be1 /t/t9110 | |
parent | Start preparing for 2.8.4 (diff) | |
parent | name-rev: include taggerdate in considering the best name (diff) | |
download | tgif-9ee8f9409cab2a52e133c63bdd0acce24f99e73f.tar.xz |
Merge branch 'js/name-rev-use-oldest-ref' into maint
"git describe --contains" often made a hard-to-justify choice of
tag to give name to a given commit, because it tried to come up
with a name with smallest number of hops from a tag, causing an old
commit whose close descendant that is recently tagged were not
described with respect to an old tag but with a newer tag. It did
not help that its computation of "hop" count was further tweaked to
penalize being on a side branch of a merge. The logic has been
updated to favor using the tag with the oldest tagger date, which
is a lot easier to explain to the end users: "We describe a commit
in terms of the (chronologically) oldest tag that contains the
commit."
* js/name-rev-use-oldest-ref:
name-rev: include taggerdate in considering the best name
Diffstat (limited to 't/t9110')
0 files changed, 0 insertions, 0 deletions