It&#x27;s not Mercurial and Git line ending conventions, it&#x27;s that Windows uses CRLF and Unix uses LF, and Git&#x27;s approach to addressing this is pretty far short of good.<p>(Another pre-emptive response: yes I&#x27;m aware of both core.autocrlf and &quot;text eol&quot;, but those are exactly the sort of sideways-cutting non-fixes that I&#x27;m talking about.)