diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2016-04-22 15:39:01 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-04-22 13:07:10 -0700 |
commit | 755042480429fbadbb1953416d2c04c035a78e4c (patch) | |
tree | 90aa3cfb200ad0ab0fedb76ec38a52e4136cb6ae /t/t4020-diff-external.sh | |
parent | Git 2.4.11 (diff) | |
download | tgif-755042480429fbadbb1953416d2c04c035a78e4c.tar.xz |
name-rev: include taggerdate in considering the best name
We most likely want the oldest tag that contained the commit to be
reported. So let's remember the taggerdate, and make it more important
than anything else when choosing the best name for a given commit.
Suggested by Linus Torvalds.
Note that we need to update t9903 because it tested for the old behavior
(which preferred the description "b1~1" over "tags/t2~1").
We might want to introduce a --heed-taggerdate option, and make the new
behavior dependent on that, if it turns out that some scripts rely on the
old name-rev method.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4020-diff-external.sh')
0 files changed, 0 insertions, 0 deletions