Re: [PATCH v3 2/2] File commited with CRLF should roundtrip diff and apply
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 17, 2017, 22:29 UTC
- Message-ID
- <xmqqlgmheskc.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <20170817214308.10727-1-tboegi@web.de>
tboegi@web.de writes:
> Changes since v2: > - Manually integrated all code changes from Junio > (Thanks, I hope that I didn't miss something)
I suspect that "apply -R makes '+' preimage" change is not here.
> - Having examples of "git diff" in the commit message confuses "git apply", > so that all examples for git diff have a '*' at the beginnig of the line > (V2 used '$' which is typically an example for a shell script)
Just FYI we tend to just indent them further, just like any displayed material in the proposed log message.
> - The official version to apply the CRLF-rules without having an index is > SAFE_CRLF_RENORMALIZE, that is already working today.
Ah, good find. I forgot about that thing you added some time ago.