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

Re: [PATCH v2] t0027: Add repoMIX and LF_nul

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Apr 25, 2015, 15:13 UTC
Message-ID
<6d0ff6f2d14e9efe73a39715c26be402@www.dscho.org>
In-Reply-To
<553B3871.6050904@web.de>
Hi Torsten,
On 2015-04-25 08:47, Torsten Bögershausen wrote:
Show 12 quoted lines
> "new safer autocrlf handling":
>   Check if eols in a file are converted at commit, when the file has
>   CR (or CLLF) in the repo (technically speaking in the index).
>   Add a test-file repoMIX with mixed line-endings.
>   When converting LF->CRLF or CRLF->LF: check the warnings
> 
> checkout_files():
>   Checking out CRLF_nul and checking for eol coversion does not
>   make much sense (CRLF will stay CRLF).
>   Use the file LF_nul instead: It is handled a binary in "auto" modes,
>   and when declared as text the LF may be replaced with CRLF, depending
>   on the configuration
Works precisely as advertised on Windows (tested on top of Git for Windows 2.3.6 release 2).
> Signed-off-by: Torsten Bögershausen <tboegi@web.de>
FWIW Acked-by: Johannes Schindelin <johannes.schindelin@gmx.de>

Ciao, Dscho

Previous: Torsten BögershausenNext: Junio C Hamano
Message 2 of 5 in “t0027: Add repoMIX and LF_nul”
  1. t0027: Add repoMIX and LF_nulTorsten Bögershausen, Apr 25, 2015
  2. Johannes SchindelinApr 25, 2015
  3. Junio C HamanoApr 25, 2015
  4. Torsten BögershausenApr 25, 2015
  5. Junio C HamanoApr 26, 2015

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.