Re: git blame breaking on repository with CRLF files
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 10, 2015, 18:48 UTC
- Message-ID
- <xmqq1tfbugho.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <55C7B5EE.7060908@web.de>
Torsten Bögershausen <tboegi@web.de> writes:
> Actually I could reproduce the following: > CRLF in repo, CRLF in working tree, core.autocrlf= true.
What should happen in such a case? Wouldn't autocrlf=true want to strip CRLF down to LF? Shouldn't it? And if so, "blame" is correct to say that you are changing the line endings of all your lines, as what you _would_ commit if you were to commit the tracked files in your working tree would be different from what is in the index, no?