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

From: Junio C Hamano <junkio@cox.net>
Date: 2007-01-15 06:11:04
"Shawn O. Pearce" <spearce@spearce.org> 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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Jan 15 06:11:58 2007

This archive was generated by hypermail 2.1.8 : 2007-01-15 06:19:55 EST