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

Re: I just pulled and built 'next'...

From
Junio C Hamano <junkio@cox.net>
Date
Jan 8, 2007, 20:11 UTC
Message-ID
<7vvejhwa6g.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<E1H3uc2-0004m1-Ua@think.thunk.org>
"Theodore Ts'o" <tytso@mit.edu> writes:
Show 8 quoted lines
> I just pulled and built 'next' and it reported a version number of
> 1.4.4.4.g71bb6 -- and not one v1.5.0-rc0.g71bb6.  I can understand why,
> since it found the changes pulled in from the maint branch before it
> found the v1.5.0-rc0 tag --- but it could be more than a little
> misleading.  Is this something that can be fixed in any way, short of
> finding all of the tags reachable from HEAD and then doing a sort?  That
> seems like a gross kludge, but I can't think of any other way of fixing
> it.

One question is how you would sort the result. If you sort them by taggerdate, you would get v1.4.4.4 anyway ;-).

If we go with topology, we do not necessarily have to find all the tags. When we hit a commit that is tagged, we can stop the traversal (so after finding v1.5.0-rc0, we do not have to go back along the 'master' lineage to find v1.4.4 tag). Traversing from the tip of 'master' (or 'next') this way we will notice that v1.5.0-rc0 and v1.4.4.4 are the candidates without going any further in the past.

But the question still remains which one between the two to pick.

Previous: Theodore Ts'oNext: Theodore Tso
Message 2 of 9 in “I just pulled and built 'next'...”
  1. Theodore Ts'oJan 8, 2007
  2. Junio C HamanoJan 8, 2007
  3. Theodore TsoJan 8, 2007
  4. Shawn O. PearceJan 9, 2007
  5. Andreas EricssonJan 9, 2007
  6. Theodore TsoJan 9, 2007
  7. Uwe Kleine-KönigJan 9, 2007
  8. Shawn O. PearceJan 10, 2007
  9. Uwe Kleine-KoenigJan 10, 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.