| File diffs always show whitespace changes [message #895758] |
Sun, 15 July 2012 15:43  |
Derek Battams Messages: 2 Registered: July 2012 |
Junior Member |
|
|
Running EGit 2.0.0.201206130900-r/Eclipse 4.2 on Win7.
Anytime I diff a file within Eclipse against any version from my Git repository, the comparison always shows whitespace changes, even if I compare a freshly committed file against HEAD (which shouldn't show any differences). Yet, if I go to the command line and do a git-diff of my working copy against my repo then the diffs look as I'd expect (i.e. the tonnes of whitespace diffs aren't present). So it appears the diff being done by EGit is causing the issue. These whitespace diffs make it almost impossible to view file diffs as needed before committing. Is there some way to correct this?
Help appreciated.

This screen is comparing a file to HEAD immediately after committing the file to my repo. I'd expect zero differences to be reported and if I run git-diff from the command line I do indeed get zero differences, but EGit is showing all of these whitespace differences.
[Updated on: Sun, 15 July 2012 15:48] Report message to a moderator
|
|
|