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

Git for Windows and line endings

From
CBChris B <chris.blaszczynski@gmail.com>
Date
Oct 18, 2012, 22:13 UTC
Message-ID
<CADKp0pyy=Nnv29LyhzAOX4B5wJNYnZ0h5d7zxNRyZxV2OGUSjg@mail.gmail.com>

Hi.. it is such a crime to have that default option of MSysGit mess around with the line endings.

Caused us a lot of trouble.

There is no thought to the fact that it's possible the Git users are not using Git the exact way the authors thought it would be used. We have both Windows and Linux systems that have parts of their files stored in Git repositories. And in addition to that, some Linux and Windows Git clients. If everyone leaves the line endings alone, everything works out just fine!

But messing with the line endings broke some things in production.
Next: Erik Faye-Lund
Message 1 of 8 in “Git for Windows and line endings”
  1. Chris BOct 18, 2012
  2. Erik Faye-LundOct 18, 2012
  3. Johannes SchindelinOct 19, 2012
  4. Chris BOct 19, 2012
  5. Junio C HamanoOct 19, 2012
  6. Jeff KingOct 19, 2012
  7. John SzakmeisterOct 19, 2012
  8. Raja R HarinathNov 4, 2012

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.