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

git merge performance problem..

From
Linus Torvalds <torvalds@osdl.org>
Date
Jul 15, 2006, 21:48 UTC
Message-ID
<Pine.LNX.4.64.0607151445270.5623@g5.osdl.org>

Junio, I think there is something wrong with git-merge. It sometimes takes up to ten seconds, and it's stuck at the

	git-show-branch --independent "$head" "$@"
call.

I don't know quite what that thing is even meant to do (we do already know the parents, why do we do something special here?) but even apart from that, the whole thing must be doing something seriously wrong, since it takes so long. Does it check the whole commit history?

		Linus
Next: Junio C Hamano
Message 1 of 6 in “git merge performance problem..”
  1. Linus TorvaldsJul 15, 2006
  2. Junio C HamanoJul 16, 2006
  3. Junio C HamanoJul 16, 2006
  4. Linus TorvaldsJul 16, 2006
  5. Junio C HamanoJul 16, 2006
  6. Linus TorvaldsJul 16, 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.