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

Re: The merge from hell...

From
Junio C Hamano <junkio@cox.net>
Date
Feb 3, 2006, 06:28 UTC
Message-ID
<7vbqxpj6qs.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.64.0602022139190.3462@g5.osdl.org>
Linus Torvalds <torvalds@osdl.org> writes:
> The 12-way merge was a bit over the top, but it worked. I'd suggest not 
> beign quite _that_ aggressive in the future, though, but it's not a big 
> deal.

Heh, I was quietly planning to raise the limit, or lift it altogether ;-).

I find Len's explanation that those topics cooked independently and happened to mature at about the same time an excellent excuse to record this as an Octopus, and with that usage there is no inherent reason, other than making the diff completely unreadable, to limit the number of parents. But I tend to agree that the current 16 is a sane limit in practice.

That reminds me of another practical limit I've known but did nothing about for quite some time (you may not even remember doing that parser anymore). This does not work for Len's merge:

	$ git rev-parse --verify funmerge^10

You could do a 16-way merge but 12-way is already hitting usability limit, depending on what you would want to do with them. For example, you cannot easily decompose the topic branches out of that merge, like this:

	$ git checkout -b redo-3549 funmerge^2     ;# works
        $ git checkout -b redo-pnpacpi funmerge^12 ;# doesn't
> One thing I'd ask for: would it be possible to have more descriptive 
> branch names than just numbers? Even if you want to track it by bugzilla 
> entry number, how about calling it "bugzilla-12345" instead? 

When kernel people (not just Len) talk about a "bugzilla ID", does that ID always come from the same namespace, or do some subsystems have their own bugzilla?

Previous: Linus TorvaldsNext: Junio C Hamano
Message 3 of 5 in “RE: The merge from hell...”
  1. Brown, LenFeb 3, 2006
  2. Linus TorvaldsFeb 3, 2006
  3. Junio C HamanoFeb 3, 2006
  4. get_sha1_1: allow octopus^12 to be properly parsed.Junio C Hamano, Feb 3, 2006
  5. Dave JonesFeb 3, 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.