summaryrefslogtreecommitdiff
path: root/t/perf/.gitignore
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-03-29 16:39:15 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-03-29 10:53:30 -0700
commit0041bf6544b9b46022b6362eae834a36505d7baa (patch)
treed6a89a7da27a0ffd8a84006c1b81322e9ea79128 /t/perf/.gitignore
parentl10n: de: translate describe debug terms (diff)
downloadtgif-0041bf6544b9b46022b6362eae834a36505d7baa.tar.xz
name-rev: refactor logic to see if a new candidate is a better name
When we encounter a new ref that could describe the commit we are looking at, we compare the name that is formed using that ref and the name we found so far and pick a better one. Factor the comparison logic out to a separate helper function, while keeping the current logic the same (i.e. a name that is based on an older tag is better, and if two tags of the same age can reach the commit, the one with fewer number of hops to reach the commit is better). Signed-off-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Michael J Gruber <git@grubix.eu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/perf/.gitignore')
0 files changed, 0 insertions, 0 deletions