Re: [PATCH] Add git-name-rev
From: Petr Baudis <hidden>
Date: 2016-06-15 22:42:09
Dear diary, on Wed, Oct 26, 2005 at 01:05:59AM CEST, I got a letter where Johannes Schindelin [off-list ref] told me that...
git-name-rev tries to find nice symbolic names for commits. It does so by walking the commits from the refs. When the symbolic name is ambiguous, the following heuristic is applied: Try to avoid too many ~'s, and if two ambiguous names have the same count of ~'s, take the one whose last number is smaller. Signed-off-by: Johannes Schindelin <redacted>
I think you should either add this to git-findtags.perl or (better) add git-findtags.perl's functionality (i.e. a switch to search only in the tags) to this and obsolete/kill git-findtags.perl. It is pretty new (from Oct 13) so killing it shouldn't break anything. -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ VI has two modes: the one in which it beeps and the one in which it doesn't.