Merge branch 'jc/name-rev-lw-tag' into maint
commite8d9d8b0bdb8c43c8c5e23c3a2fe99a1dcbe8015
authorJunio C Hamano <gitster@pobox.com>
Sat, 24 Jun 2017 22:29:27 +0000 (24 15:29 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 24 Jun 2017 22:29:28 +0000 (24 15:29 -0700)
tree898675080dcb9a5dcb9a3b0bf717142fbed86631
parentfd99e2bda0ca6a361ef03c04d6d7fdc7a9c40b78
parentef1e74065c19cc427c4a1b322154fd55d7a3588b
Merge branch 'jc/name-rev-lw-tag' into maint

"git describe --contains" penalized light-weight tags so much that
they were almost never considered.  Instead, give them about the
same chance to be considered as an annotated tag that is the same
age as the underlying commit would.

* jc/name-rev-lw-tag:
  name-rev: favor describing with tags and use committer date to tiebreak
  name-rev: refactor logic to see if a new candidate is a better name
builtin/name-rev.c
t/t4202-log.sh