Re: name-rev does not show the shortest path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux