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

Re: [ANNOUNCE] TopGit v0.3

From
Petr Baudis <pasky@ucw.cz>
Date
Sep 12, 2008, 10:58 UTC
Message-ID
<20080912105839.GV10360@machine.or.cz>
In-Reply-To
<20080911054030.GA6602@glandium.org>
  Hi,
On Thu, Sep 11, 2008 at 07:40:30AM +0200, Mike Hommey wrote:
> I just saw Martin Krafft's talk at debconf 8, showing TopGit, and I
> wonder why TopGit needs to keep top-bases/* references ? Isn't
> git merge-base enough for this ?
  the top-bases/ references are to determine what to base the patch
against. Consider patch structure like:
	         .---- A ----.
	vanilla <             > C
	         `---- B ----'
  Then, top-bases/C will consist of branches A and B, merging updates in
these branches over time, and you can get the current image of C's patch
by diffing top-bases/C and heads/C. There is no way how to get this by
using git merge-base, since that gives you only kind of "multi-way
diff" - I'm not even sure what would you call merge-base on in this
example.
-- 
				Petr "Pasky" Baudis
The next generation of interesting software will be done
on the Macintosh, not the IBM PC.  -- Bill Gates
Previous: Michael Radziej
Message 20 of 20 in “[ANNOUNCE] TopGit v0.3”
  1. Petr BaudisSep 9, 2008
  2. Bert WesargSep 10, 2008
  3. Petr BaudisSep 12, 2008
  4. Jan NieuwenhuizenSep 11, 2008
  5. Petr BaudisSep 12, 2008
  6. Jan NieuwenhuizenSep 12, 2008
  7. Petr BaudisSep 12, 2008
  8. martin f krafftSep 12, 2008
  9. Jan NieuwenhuizenSep 17, 2008
  10. Petr BaudisSep 21, 2008
  11. Jan NieuwenhuizenSep 22, 2008
  12. Petr BaudisSep 22, 2008
  13. Jan NieuwenhuizenSep 23, 2008
  14. Petr BaudisSep 23, 2008
  15. Jan NieuwenhuizenSep 29, 2008
  16. Jan HolesovskyOct 3, 2008
  17. Michael RadziejSep 15, 2008
  18. Petr BaudisSep 17, 2008
  19. Michael RadziejSep 17, 2008
  20. Petr BaudisSep 12, 2008

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.