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

Re: [TESTCASE] Failing 'git am' when core.autocrlf=true

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Aug 23, 2007, 19:25 UTC
Message-ID
<alpine.LFD.0.999.0708231225180.30176@woody.linux-foundation.org>
In-Reply-To
<7vhcmqt7oh.fsf@gitster.siamese.dyndns.org>
On Thu, 23 Aug 2007, Junio C Hamano wrote:
Show 8 quoted lines
> 
> As you said, there is something else going on.  write-tree is
> about reading the index entries and writing them out as a set of
> trees, and at that point it should not even matter if you have
> garbage in the work tree or if you do not even have a work tree.
> All the crlf conversions have been done when the object hit the
> index, so its reading or not reading core.autocrlf should not
> change its behaviour.

Ok, I just sent out the analysis of this, maybe you should add that as the changelog for the one-liner, and sign-off from me.

		Linus
Previous: Junio C HamanoNext: Linus Torvalds
Message 5 of 8 in “[TESTCASE] Failing 'git am' when core.autocrlf=true”
  1. Marius Storm-OlsenAug 23, 2007
  2. Linus TorvaldsAug 23, 2007
  3. Marius Storm-OlsenAug 23, 2007
  4. Junio C HamanoAug 23, 2007
  5. Linus TorvaldsAug 23, 2007
  6. Linus TorvaldsAug 23, 2007
  7. Junio C HamanoAug 23, 2007
  8. Marius Storm-OlsenAug 23, 2007

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.