Re: [PATCH v2 2/2] diff: --ignore-cr-at-eol
From: Junio C Hamano <hidden>
Date: 2017-11-08 00:49:39
Junio C Hamano [off-list ref] writes:
These "--ignore-*" whitespace options are to help reviewing _other_ changes without getting distracted by the class of changes these options represent. I guess I may have to update the log message (I do not think I wrote anything like that in the documentation update).
Here is what I just did with "commit --amend" (there is no change
in the contents of the patch).
diff: --ignore-cr-at-eol
A new option --ignore-cr-at-eol tells the diff machinery to treat a
carriage-return at the end of a (complete) line as if it does not
exist.
Just like other "--ignore-*" options to ignore various kinds of
whitespace differences, this will help reviewing the real changes
you made without getting distracted by spurious CRLF<->LF conversion
made by your editor program.
Signed-off-by: Junio C Hamano [off-list ref]