I have a git repo set with core.eol=crlf, core.autocrlf=true and core.safecrlf=true.
core.eol=crlf
core.autocrlf=true
core.safecrlf=true
When I apply a patch from another crlf<
crlf<
I would not allow my source control system to control my line endings. Auto crlf is false and showing diffs without the annoying ^M is done by setting core.whitespace to cr-at-eol. Now diff output will be nicer to read.