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

Re: Fix branch ancestry calculation

From
DMDavid Mansfield <centos@dm.cobite.com>
Date
Mar 24, 2006, 14:45 UTC
Message-ID
<44240619.20103@dm.cobite.com>
In-Reply-To
<Pine.LNX.4.64.0603221723230.9196@g5.osdl.org>
Linus Torvalds wrote:
Show 12 quoted lines
> Some branches don't get any ancestors at all, because their ancestor gets 
> a "dotcount" value of 0, and are thus not considered any better than not 
> having any ancestor. That's obviously wrong. Even a zero-dot-count 
> ancestor is better than having none at all.
> 
> This fixes the issue by making not having an ancestor branch have a 
> goodness value of -1, avoiding the problem (because even a zero dot-count 
> will be considered better).
> 
> Alternatively, the special-case for the "1.1.1.1" revision should be 
> removed (or made to imply a dot-count of 1).
> 

Thanks for this. I'll look at bundling this and some miscellaneous other stuff this weekend (pray to gods for rain so I can stay in all weekend ;-).

Anyway, I'd like to nail down some of the other nagging ancestry/branch point problems if possible.

David
Previous: David MansfieldNext: Linus Torvalds
Message 7 of 11 in “Fix branch ancestry calculation”
  1. Linus TorvaldsMar 23, 2006
  2. [RFC] Make dot-counting ignore ".1" at the endLinus Torvalds, Mar 23, 2006
  3. Keith PackardMar 23, 2006
  4. Linus TorvaldsMar 23, 2006
  5. Keith PackardMar 23, 2006
  6. David MansfieldMar 24, 2006
  7. David MansfieldMar 24, 2006
  8. Linus TorvaldsMar 24, 2006
  9. Keith PackardMar 24, 2006
  10. Chris ShoemakerMar 25, 2006
  11. Keith PackardMar 25, 2006

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.