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

Re: 'read-tree -m head' vs 'read-tree head'

From
TGThomas Glanzmann <sithglan@stud.uni-erlangen.de>
Date
May 4, 2005, 07:01 UTC
Message-ID
<20050504070148.GF18380@cip.informatik.uni-erlangen.de>
In-Reply-To
<7vr7gnpjkq.fsf@assigned-by-dhcp.cox.net>
Hello Junio,
Show 5 quoted lines
>     Normally "read-tree -m" is the preferred form from
>     performance point of view, especially on a large project.
>     The only case you need to use "read-tree" without -m is when
>     the cache contains conflicting merge results and you want to
>     start from scratch.

thanks for the bottom line. That explains why Linus uses it in his git-pull-script.

	Thomas
Previous: Junio C Hamano
Message 5 of 5 in “'read-tree -m head' vs 'read-tree head'”
  1. Thomas GlanzmannMay 3, 2005
  2. Junio C HamanoMay 3, 2005
  3. Petr BaudisMay 3, 2005
  4. Junio C HamanoMay 4, 2005
  5. Thomas GlanzmannMay 4, 2005

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.