Merge branch 'jc/name-rev-lw-tag'

"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
This commit is contained in:
Junio C Hamano
2017-05-30 11:16:39 +09:00
2 changed files with 53 additions and 8 deletions

View File

@ -399,7 +399,7 @@ cat > expect <<\EOF
| |
| | Merge branch 'side'
| |
| * commit side
| * commit tags/side-2
| | Author: A U Thor <author@example.com>
| |
| | side-2