Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 360128

Summary: Set new text file line delimiter to Unix to prevent conflicts
Product: [Eclipse Project] JDT Reporter: Curtis Windatt <curtis.windatt.public>
Component: DebugAssignee: Curtis Windatt <curtis.windatt.public>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Michael_Rennie
Version: 3.7   
Target Milestone: 3.8 M3   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Curtis Windatt CLA 2011-10-06 12:18:14 EDT
For all projects in JDT debug repository

To avoid line delimiter conflicts when working with text files and to have 
the same line delimiter (LF) in all our text files, the following rules 
apply when working with Git repositories from the Eclipse top-level 
project:

- Set core.autocrlf=false. If you use EGit to clone the repository then 
this is done automatically for you.
- In your workspaces set General > Workspace > 'New text file line 
delimiter' to 'Unix'.
- In the current dev branches (do not do this in maintenance branches) set 
'New text file line delimiter' to 'Unix' on the 'Resource' property page 
of your projects.
- If you don't work with EGit then it is your responsibility to avoid 
committing wrong line delimiters to the repository.

In addition, on Windows set core.fileMode=false. Again, if you use EGit to 
clone the repository then this is done automatically for you.
Comment 2 Michael Rennie CLA 2011-10-28 09:58:06 EDT
verified in I20111027-1800