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

Re: [PATCH (BUGFIX)] Respect core.autocrlf in combined diff

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 24, 2008, 00:56 UTC
Message-ID
<7vej4fw7qf.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<200808232321.21795.angavrilov@gmail.com>
Alexander Gavrilov <angavrilov@gmail.com> writes:
Show 17 quoted lines
> 	Steps to reproduce:
>
> 		git init
> 		echo foo > file
> 		git add file
> 		git commit -m init
> 		git checkout -b a
> 		git checkout -b b
> 		echo bbb >> file
> 		git add file
> 		git commit -m bbb
> 		git checkout a
> 		echo aaa >> file
> 		git add file
> 		git commit -m aaa
> 		git config core.autocrlf true
> 		git merge b
Please add this kind of sequence to test scripts.
The patch from a cursory look appears correct.  Thanks.
Previous: Alexander GavrilovNext: Junio C Hamano
Message 2 of 4 in “Respect core.autocrlf in combined diff”
  1. Respect core.autocrlf in combined diffAlexander Gavrilov, Aug 23, 2008
  2. Junio C HamanoAug 24, 2008
  3. Junio C HamanoAug 24, 2008
  4. Alexander GavrilovAug 24, 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.