Skip to main content



      Home
Home » Eclipse Projects » EGit / JGit » Difference between EGit and SourceTree
Difference between EGit and SourceTree [message #1808744] Mon, 01 July 2019 02:47 Go to next message
Eclipse UserFriend
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 12:33 Go to previous message
Eclipse UserFriend
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: Sat Jul 12 20:14:59 EDT 2025

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

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

Back to the top