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

msysgit: should core.autocrlf=true be the default on Windows?

From
Steffen Prohaska <prohaska@zib.de>
Date
Aug 11, 2007, 20:56 UTC
Message-ID
<7816DAAF-53CB-468C-9597-36AA94AC6476@zib.de>

I think core.autocrlf=true should be the default on Windows. I strongly believe that Windows users expect this default, as others Windows application rely on it. I recently tried to use kdiff3 on Windows and got satisfactory results only after using autocrlf.

autocrlf should be set right from the very beginning. If you found out about it later, you would have to convert your existing working trees, which is not too easy. Therefore we should guide the user to a reasonable default.

We can report the defaults we chose in *bold* after the installation completed and give a hint where further background information can be found, and what would be needed to adjust the default.

What do you think?

Would /etc/gitconfig in msysgit be the right place to set the default?

	Steffen
Next: Dmitry Kakurin
Message 1 of 4 in “msysgit: should core.autocrlf=true be the default on Windows?”
  1. Steffen ProhaskaAug 11, 2007
  2. Dmitry KakurinAug 12, 2007
  3. Steffen ProhaskaAug 12, 2007
  4. Dmitry KakurinAug 12, 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.