Thread (5 messages) flat view 5 messages, 5 authors, 2016-06-15

Re: [PATCH master] convert: The native line-ending is \r\n on MinGW

From: Tvangeste <hidden>
Date: 2016-06-15 22:58:24

Brice Lambson <bricelam <at> live.com> writes:
+1, this is a significant issue downstream in Git for Windows:

https://github.com/msysgit/git/issues/57

Effectively this renders .gitattributes useless for the scenario of 
enforcing normalized line ending characters.
+100

Folks, the problem is still there, with the very latest Git built with MinGW 
on Windows. Having eol=native in gitattributes means *LF* EOLs on 
Windows/MinGW.

So, essentially, eol=native is completely broken. And this is the most useful 
option to put into gitattributes and share among those working on the project.

Currently, I have to put eol=crlf there, and that means that those working on 
Linux will end up with CRLF files in their working copies.

The link quoted above does contain an additional fix that resolves the 
problem.

Thanks,
  --Tvangeste
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help