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

Re: TopGit: problem with patch series generation

From
Petr Baudis <pasky@suse.cz>
Date
Aug 12, 2008, 22:59 UTC
Message-ID
<20080812225916.GN10151@machine.or.cz>
In-Reply-To
<20080812224155.GB15521@lapse.rw.madduck.net>
On Tue, Aug 12, 2008 at 07:41:55PM -0300, martin f krafft wrote:
Show 6 quoted lines
> also sprach Santi Béjar <sbejar@gmail.com> [2008.08.12.1828 -0300]:
> > I don´t know if it fits topgit, but this is what Junio uses:
> > 
> > http://article.gmane.org/gmane.comp.version-control.git/24498
> 
> I think this is definitely something TopGit can automate.

This seems to be in principle the same as the tie branches. It might make sense to have a way to _optionally_ make a tie branch.

How should that work? Maybe there needs to be even an explicit support for this - should TopGit just check the dependency tree when sequencing the topic branches and have a step that says:

	"I'm going to sequence branch A. If there is branch T that has
	only already sequenced branches + branch A as dependencies,
	use T's content instead of A."
Would that be satisfactory?

Finding out this information would be very expensive, of course. But for other reasons, we might want to keep a cache of branch dependencies.

Of course, in the case of
        A1--A2--A3--A4--C
                       /
        B1--B2--B3--B4.
the sequenced branches would still be like
        A1--A2--A3--A4--B1--B2--B3--C
unless you create the T1..T4 branches manually.
-- 
				Petr "Pasky" Baudis
The next generation of interesting software will be done
on the Macintosh, not the IBM PC.  -- Bill Gates
Previous: martin f krafftNext: martin f krafft
Message 8 of 11 in “TopGit: problem with patch series generation”
  1. martin f krafftAug 12, 2008
  2. Avery PennarunAug 12, 2008
  3. Bert WesargAug 12, 2008
  4. Petr BaudisAug 12, 2008
  5. martin f krafftAug 12, 2008
  6. Santi BéjarAug 12, 2008
  7. martin f krafftAug 12, 2008
  8. Petr BaudisAug 12, 2008
  9. martin f krafftAug 12, 2008
  10. martin f krafftAug 12, 2008
  11. Petr BaudisAug 13, 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.