Skip to main content



      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 09:10 Go to next message
Eclipse UserFriend
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 08:10 Go to previous messageGo to next message
Eclipse UserFriend
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 17:26 Go to previous message
Eclipse UserFriend
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:Modify commit message from Eclipse plugin
Goto Forum:
  


Current Time: Tue Jul 15 20:53:12 EDT 2025

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

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

Back to the top