Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mylyn-dev] line ending conversion

2011/11/24 Steffen Pingel <steffen.pingel@xxxxxxxxxxx>
To solve this problem would it be sufficient to:
* set core.autocrlf=input on Windows, 
* have Eclipse workspace settings setup to use Unix line endings (if using non-Eclipse file editors, setup those to use Unix line endings too)
* commit within Eclipse using EGit
Existing Git working directories might need to be checked out again with this new setting

That sounds like a solution. 

If I understand the discussion correctly, we could also create a .gitattributes file to move the configuration from the client to the repository: http://dev.eclipse.org/mhonarc/lists/eclipse-dev/msg09216.html

JGit and hence also EGit do not yet support git attributes [1], also support for
core.autocrlf settings other than false is not yet available [2].

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=342372
[2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=301775 

--
Matthias

Back to the top