Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » File diffs always show whitespace changes
File diffs always show whitespace changes [message #895758] Sun, 15 July 2012 15:43 Go to previous message
Derek Battams is currently offline 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.

index.php/fa/10712/0/

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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Add Existing Local Repository programmatically
Next Topic:Indexed changes in origin after push
Goto Forum:
  


Current Time: Sat May 25 08:05:49 EDT 2013

Powered by FUDForum. Page generated in 0.04063 seconds