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<
Try on a clean working directory:
git apply mychanges.patch git diff -w > mychangesnows.patch git reset --hard git apply mychangesnows.patch