Re: [PATCH v1 6/7] correct blame for files commited with CRLF
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 29, 2016, 20:25 UTC
- Message-ID
- <xmqqio05vxo9.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <56FADCAB.1010201@web.de>
Torsten Bögershausen <tboegi@web.de> writes:
> If we had made the CRLF -> LF conversion, yes. But we don't do that. > crlf_to_git() returns without touching the line endings.
That sounds quite broken. How would a user ever fix broken data in the index then? I know the commit that often appears in these discussions claims to give us "safer CRLF" handling, but I have a suspicion that perhaps we should rethink if that claim is really true. Isn't it giving us more problems than it is worth?