guberm / tortoisegit

Automatically exported from code.google.com/p/tortoisegit
0 stars 0 forks source link

Disable AutoCRLF by Default #2486

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Install TortoiseGit with the Default options.

What is the expected output? What do you see instead?

TortoiseGit, being a Windows application, should be configured to run 
efficiently on Windows.  Windows-Unix interoperabillity should not be enabled 
where it causes extra work for Windows at this point.

Instead, TortoiseGit installs with AutoCRLF turned on.  This has caused many, 
many hours of headaches and difficulties with files constantly showing up as 
changed and having to be committed and recommitted.  We had it "resolved" at 
one point, and then a user had to revert to an older laptop, and all files got 
hosed again.  I can't think of a reason why Windows users would want their 
newlines converted by default.  That is the type of thing that you turn on if 
you start having problems, not enable by default.

This is, of course, MNSHO.

What version of TortoiseGit and msysgit are you using? On
what operating system?

Windows 7 Pro
TortoiseGit 1.8.12.0
git 1.9.5.msysgit.0

Please provide any additional information below.

Original issue reported on code.google.com by dmpra...@gmail.com on 9 Apr 2015 at 7:03

GoogleCodeExporter commented 9 years ago
No, it is not TortoiseGit, but msysgit install core.autocrlf = true by default 
in systemwide config (C:\Program Files (x86)\Git\etc\gitconfig).

Original comment by ch3co...@gmail.com on 9 Apr 2015 at 11:59

GoogleCodeExporter commented 9 years ago
@dmprantz
My suggestion: Forget AutoCrlf, using .gitattributes instead.

Original comment by yuelinho...@gmail.com on 10 Apr 2015 at 1:36

GoogleCodeExporter commented 9 years ago
We clearly suggest to disable AutoCrLf on the SetupHowTo page. As we don't ship 
Git with TortoiseGit we should not infere with the Git settings of a third 
party package.

Original comment by sstrickr...@googlemail.com on 10 Apr 2015 at 9:49