I am struggling to create a patch for a file which does contain some ^M at the end of a line. when I edit the file I don't see the ^M, but the patch created by format-patch does point it out in the patching zone context. So when I try to apply it on a fresh git tree, git am is searching for this ^M at the end of line but doesn't see it; and it results of an error.
any idea or workaround for git format-patch to stop taking this ^M into account ?
Thanks in advance
PS: for the context, I have no write access on this git tree, that's why I need to make patches.