Re: msysgit: should core.autocrlf=true be the default on Windows?
- From
- Dmitry 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 > >