I have a weird problem with git commit using eclipse EGit.
When I change even one line of code in a file, my commit always removes all content of that file and replaces it with the same + plus the line I have changed. So in GitHub it looks like I have changed all the lines within that file.
Note that in the commit dialog it's alright. I mean comparison of local file and the file from HEAD shows changes only in the line I really have changed.
I have the Eclipse 4.3 Kepler with the latest EGit installed.
Any hints what is going here?