Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Difference between EGit and SourceTree
Difference between EGit and SourceTree [message #1808744] Mon, 01 July 2019 06:47 Go to next message
Christian Stöhr is currently offline Christian StöhrFriend
Messages: 1
Registered: June 2019
Junior Member
Hello,

i'm working with Eclipse + EGit. My colleagues work with christian.stoehr@mbtech-group.com + SourceTree.
If I edit a file recently edited by a colleague and commit it via EGit,
it shows me that the whole file has changed, even if I only have changed
one line.
As difference shown are the whitespaces at the beginning of each line.
My colleagues and I use exactly the same code formatter in eclipse.
How can I configure EGit, that it doesn't detect this as difference?
Re: Difference between EGit and SourceTree [message #1809034 is a reply to message #1808744] Sat, 06 July 2019 16:33 Go to previous message
Thomas Wolf is currently offline Thomas WolfFriend
Messages: 576
Registered: August 2016
Senior Member
First, are there differences? You could switch on "Show whitespace" in the compare editor to check, or you could get the file from your co-worker and check them both in a hex viewer. Another thing to watch out for are line endings (CR-LF vs. LF), and the related git config and possible .gitattributes settings in your or his setup.

Which EGit version are you using? On which OS are you, and on which OS does he work?

Is the repo publicly accessible? If so, I can clone it and check some more things.
Previous Topic:Confused about cherry-picking
Next Topic:Using Synchronize
Goto Forum:
  


Current Time: Fri Apr 26 23:53:45 GMT 2024

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

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

Back to the top