I'm sure it is because patch contains non CRLF linefeeds, as I had such errors previously, not even using Git. It seems the "patch" binary only supports Windows EOLs. -- cobines