git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Junio C Hamano <junkio@cox.net>
Date
Jan 14, 2007, 21:36 UTC
Message-ID
<7vd55hffz7.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<7v8xg5h19z.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> writes:
Show 12 quoted lines
> "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?
This is irrelevant now.  Please ignore.
Previous: Junio C Hamano
Message 3 of 3 in “Always perfer annotated tags in git-describe.”
  1. 1/4 Always perfer annotated tags in git-describe.Shawn O. Pearce, Jan 13, 2007
  2. Junio C HamanoJan 14, 2007
  3. Junio C HamanoJan 14, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.