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

Re: Git improvement for line feed processing: LF versus CR-LF

From
Torsten Bögershausen <tboegi@web.de>
Date
Sep 8, 2014, 09:29 UTC
Message-ID
<540D7705.4000405@web.de>
In-Reply-To
<540D6EEB.2040101@orange.fr>
On 09/08/2014 10:55 AM, Francis ANDRE wrote:
Show 15 quoted lines
> Hi
> []
> All text file line endings in the repository must be Unix-style (LF). 
> This includes Visual Studio project and solution files (.sln, .vcproj, 
> .vcxproj, .vcxproj.filters).
>
> But git-gui translates states:
> warning: LF will be replaced by CRLF in file.txt. The file will have 
> its original line endings in your working directory.
>
> Could you add a option to git-gui to specify to translate or not the 
> end of line of the cloned repository so that my fixes be accepted by 
> the owner of the repository.
>
> Thanks
Unless I'm completely wrong, such an option already exists, please see
http://git-htmldocs.googlecode.com/git/gitattributes.html
Previous: Francis ANDRE
Message 2 of 2 in “Git improvement for line feed processing: LF versus CR-LF”
  1. Francis ANDRESep 8, 2014
  2. Torsten BögershausenSep 8, 2014

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.