Community
Participate
Working Groups
Build Identifier: M20100211-1343 In workplaces that have developers on Windows and Linux platforms, the core.autocrlf config must be used so that Windows users do not check in text files with CRLF line endings. EGit/JGit ignores the setting and does not modify the file before committing the change. See also: - http://www.kernel.org/pub/software/scm/git/docs/gitattributes.html - http://help.github.com/dealing-with-lineendings/ Reproducible: Always Steps to Reproduce: 1. On Windows, set the autocrlf config: git config --global core.autocrlf true 2. Create a file using notepad.exe with a single line. 3. Add and commit the file with the git command line. 4. Open the file and edit with eclipse.exe, adding another line. 5. Add and commit the file with the egit plugin. 6. Pull the repo to a Linux box and see that the file has CRLF line endings.
*** This bug has been marked as a duplicate of bug 301775 ***