I have a git repository with core.eol=crlf , core.autocrlf=true and core.safecrlf=true .
When I apply a patch from another crlf relay, and for my repo, all line endings for the processed file change to lf . I am currently applying the patch like this:
git apply --ignore-whitespace mychanges.patch
(It seems I should use --ignore-whitespace in order to get the fix for a successful application.)
My current job is to run unix2dos in a file. Is there a better way to get an application to fit my eol settings?
source share