Community
Participate
Working Groups
Configure "New text file line delimiter" to Unix for all projects hosted in Git. The background is that EGit does not always convert line endings properly from Windows to Unix on commit.
I have gone ahead and done this for the Mylyn Reviews projects located under gerrit and framework. I have also converted existing files in those projects.
Reopening since this now affects all projects. Policy for Eclipse project: http://wiki.eclipse.org/Platform-releng/Git_Workflows#Dealing_with_line_terminators.
Conversion scripts: find -type f -not -path "*.git*" | xargs -i dos2unix {} find -name .settings | xargs -i cp /tmp/org.eclipse.core.runtime.prefs {} I excluded the following pathes: org.eclipse.mylyn.docs org.eclipse.mylyn.reviews/framework/org.eclipse.mylyn.reviews.frame.core/ org.eclipse.mylyn.reviews/r4e/ org.eclipse.mylyn.reviews/tbr/
David, okay to convert the Mylyn Docs repository (would affect ~50 files)?
(In reply to comment #4) > David, okay to convert the Mylyn Docs repository (would affect ~50 files)? Yes, absolutely. This is a pain, so thanks for offering to do this.
Done.