Community
Participate
Working Groups
Build Identifier: 20100917-0705 When synchronising the workspace eclipse finds a lot of whitespace changes. However checking with mysysgit from the gitbash only the actual changes are found. The Problem also affects other users http://www.eclipse.org/forums/index.php/t/209456/ The behaviour renders the whole plugin useless. Its probably easier reprucible but that worked for me For info the workspace previously used svn, in my gitignore i have .svn and .metadata Reproducible: Always Steps to Reproduce: 1. Had existing workspace and put a git repository around it 2. Cloned the repository 3. Opened the new workspace 4. imported the existing projects 5. did team -> share project 6. ticked git and then repo in parent folder 7. after that was finised i marked everything and did team -> syncronize workspace 8. way to many changes due to whitespaces
What are your core.autocrlf settings ? JGit and EGit as of now only support core.autocrlf=false. See bug 301775.
(In reply to comment #1) > What are your core.autocrlf settings ? JGit and EGit as of now only support > core.autocrlf=false. > See bug 301775. I checked Team->Git->Configuration and I did not find a core.autocrlf setting so I assume its the standard setting what ever that is.
I just realised taht I created and cloned the git repository with mysysgit, which sets the lineendings automatically, so probably thats the problem if git changes it to unix lineendings and i am working on a windows machine. If EGit does not work with that, then I guess those are the differences
As it turns out the reason is egits inability to auto handle line endings *** This bug has been marked as a duplicate of bug 301775 ***