From: Junio C Hamano Date: Sun, 14 Jan 2007 21:36:28 GMT Subject: Re: [PATCH 1/4] Always perfer annotated tags in git-describe. Message-ID: <7vd55hffz7.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <7v8xg5h19z.fsf@assigned-by-dhcp.cox.net> Junio C Hamano writes: > "Shawn O. Pearce" 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? This is irrelevant now. Please ignore.