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