Re: [PATCH 1/4] Always perfer annotated tags in git-describe.

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

 



"Shawn O. Pearce" <spearce@xxxxxxxxxxx> writes:

> @@ -148,17 +149,17 @@ static void describe(const char *arg, int last_one)
>  			else
>  				all_matches = p;
>  			cur_match = p;
> +			if (n->prio == 2)
> +				continue;

When you do not have _any_ annotated tag but you do have
lightweight tags, wouldn't this make the traversal go all the
way down to root?

-
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]