|Re: [cross-project-issues-dev] EGit / line ending problems with simrel repo|
Am 16.08.2012 11:25, schrieb Ed Willink:
Hi EikeHi My suspicion is that the problem is in the comparison tooling. The files in the repo seem to be normalized to LF line endings, but some Windows tooling creates CR-LF; some tools can be fixed via Bugzillas but it's a losing battle.I totally disagree. All these tools have been working fine with all other version control systems.We agree. I was just elaborating the bad alternative.
And the false positives in the staging view appear with no comparison tool being involved. And it's impossible to get rid of them by means of the tool (EGit) that has created them.There is a comparison. EGIT must do a file compare to determine whether the file is changed. If you edit a file and edit it back again, the file disappears from the staging view, so EGIT must be using content rather than timestamp to detect changes.
Oh, of course I know that. I *guess* it's done with the SHA1 digests of the files' contents because they're needed anyway. Cheers /Eike ---- http://www.esc-net.de http://thegordian.blogspot.com http://twitter.com/eikestepper
Back to the top