Difference between EGit and SourceTree [message #1808744] |
Mon, 01 July 2019 02:47  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.04417 seconds