From: Johannes Schindelin Date: Sat, 25 Aug 2007 15:04:33 GMT Subject: Re: name-rev does not show the shortest path Message-ID: In-Reply-To: <7v6434eq9o.fsf@gitster.siamese.dyndns.org> Hi, On Fri, 24 Aug 2007, Junio C Hamano wrote: > I _think_ name-rev goes for shorter-to-type tags and does not have any > other heuristics. Dscho? I briefly looked into this, and did not find out why it is behaving that way. It _should_ pick the closer one with this code: } else if (name->merge_traversals > merge_traversals || (name->merge_traversals == merge_traversals && name->generation > generation)) { However, it did not even get to that code in my tests. I'll have to look at that problem closer in a quiet moment (which I will not have for at least another 24 hours). Ciao, Dscho