Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Comparing files from "Unstaged Changes" showing whitespace which should not be there(Compare for "Unstaged Changes" showing whitespace changes which should not show)
Comparing files from "Unstaged Changes" showing whitespace which should not be there [message #1806011] Tue, 30 April 2019 13:10 Go to next message
Sander Hoevers is currently offline Sander HoeversFriend
Messages: 1
Registered: April 2019
Junior Member
We started switching from eclipse oxygen (4.7.0) to eclipse 2019-03.

There is one thing we find rather inconvenient in the Git Staging view.

When changed files are in the "Unstaged Changes" view. And a compare is done then whitespace changes are shown which are not there.
E.g. when on commandline a git diff is performed, no changes are shown, except for the change made manually.

This makes a diff in the "unstaged changes" view hard to use.

When changed files are in the "Staged Changes" view. And a compare is done. The diff is shown correctly.

The behavior of the eclipse oxygen was different. E.g.It is showing just the made changes. There were no problems with the white space characters in the diff. Just like on the commandline.

Configuration:
OS: windows
autocrlf = input
Setting in Preferences::General::Compare/Patch "Ignore white space" is unchecked.
All files in our git respository are store with only LF.
Setting in Preferences::General::Workspace "New text file line delimiter" is Unix.


What could be the issue?
Re: Comparing files from "Unstaged Changes" showing whitespace which should not be there [message #1808385 is a reply to message #1806011] Sun, 23 June 2019 12:10 Go to previous messageGo to next message
Thomas Wolf is currently offline Thomas WolfFriend
Messages: 175
Registered: August 2016
Senior Member
I cannot reproduce this with EGit 5.4.0. Can you point me to a publicly available repository with which I could reproduce this?
Re: Comparing files from "Unstaged Changes" showing whitespace which should not be there [message #1808564 is a reply to message #1808385] Wed, 26 June 2019 21:26 Go to previous message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1106
Registered: July 2009
Senior Member
Eclipse 2019-03 comes with JGit/EGit 5.3.0, try to upgrade to Eclipse 2019-06 coming with JGit/EGit 5.4.0
which were released recently.
Previous Topic:Does eGit require gitbash to be loaded on the device?
Next Topic:Beginner Problems
Goto Forum:
  


Current Time: Sat Dec 14 15:39:51 GMT 2019

Powered by FUDForum. Page generated in 0.02722 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top