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

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

From
DKDmitry Kakurin <dmitry.kakurin@gmail.com>
Date
Aug 12, 2007, 05:36 UTC
Message-ID
<84CFEBB5D7FE48FF86FEF3289C8DDAA8@ntdev.corp.microsoft.com>
In-Reply-To
<7816DAAF-53CB-468C-9597-36AA94AC6476@zib.de>

Please keep in mind that msysgit is targeting developers who want to contribute to MinGW port of git. Since building and editing happens in MinGW environment the LF-only default seems reasonable. On the other hand, setup for end-users should have it as default, I agree. Please report this issue here: http://code.google.com/p/msysgit/issues/list

- Dmitry
----- Original Message ----- 
From: "Steffen Prohaska" <prohaska@zib.de>
Newsgroups: gmane.comp.version-control.git
To: "Johannes Schindelin" <Johannes.Schindelin@gmx.de>; "Marius Storm-Olsen" <marius@trolltech.com>
Cc: "Git Mailing List" <git@vger.kernel.org>
Sent: Saturday, 11 August 2007 13:56
Subject: msysgit: should core.autocrlf=true be the default on Windows?
Show 24 quoted lines
>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
> 
>
Previous: Steffen ProhaskaNext: Steffen Prohaska
Message 2 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.