|Uexpected CRLF conversion on clone [message #1823975]
||Sun, 05 April 2020 21:45
| Rice Bauer
Registered: August 2009
again, I'm on a Windows 10 machine with Eclipse 2020-03 and a .gitattributes with only this very simple line:
My gitconfig (system level) contains the following entry:
Inside my repo, the text files contain LF line endings.
So, what I'd expect is that no line ending conversion happens on checkout and clone. That is also what Git for Windows does and what I read from here: https://git-scm.com/docs/gitattributes.
And by the way, for the checkout command, this is also what Eclipse does, so if I checkout an old commit that doesn't contain a certain text file and then checkout the latest commit again, I got LFs in the working directory.
However, if I perform a clone via "File > Import > Projects from Git...", my text files are checked out with CRLF line endings.
Can anybody confirm that this is undesired behaviour?
Powered by FUDForum
. Page generated in 0.01816 seconds