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
Steffen Prohaska <prohaska@zib.de>
Date
Aug 12, 2007, 09:36 UTC
Message-ID
<F5024D9F-B008-4C14-B36B-A2E8BEFD0FE4@zib.de>
In-Reply-To
<84CFEBB5D7FE48FF86FEF3289C8DDAA8@ntdev.corp.microsoft.com>
On Aug 12, 2007, at 7:36 AM, Dmitry Kakurin wrote:
> Please keep in mind that msysgit is targeting developers who want  
> to contribute to MinGW port of git.

Why that?. In my opinion msysgit is already the best git you can get on Windows. It's a one click, self-contained installation, with the most up-to-date git. The installation is kept separate from cygwin, which saves a lot of trouble with textmode/binmode. It's easy to get started, easy to contribute fixes, easy to upgrade to a new version. It should be polished a bit, but then I would announce it as _the_ default way of installing git on Windows.

> Since building and editing happens in MinGW environment the LF-only  
> default seems reasonable.

I have my msysgit set to autocrlf=true and have no problems. It's even better now, because I can open files in Windows programs without problems.

> On the other hand, setup for end-users should have it as default, I  
> agree.

But our end-users are developers! We should leverage on that and make msysgit the 'end-user' installation. Developers tend to be interested in fixing problems with their working environment. We should provide them a _very_ easy way of submitting their fixes and improvements back to msysgit, e.g. via mob branch. This could speed up the Windows porting effort tremendously.

I also think we should work in the same environment that we propose to our end-users. If we believe end-users should work with autocrlf=true, we should do so as well, just to be sure that our recommendation is the right one.

> Please report this issue here: http://code.google.com/p/msysgit/ 
> issues/list
done.
	Steffen
Previous: Dmitry KakurinNext: Dmitry Kakurin
Message 3 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.