Git commit adds ^M at end of line

Laurent BP jumbo4444 at
Sun Jan 1 20:18:03 UTC 2017

Laurent BP wrote
> I can remove these ^M in the patch file, but not in source files.

This was may be confusing.
Please find attached my .patch
Like with git log -p, it is full of ^M at the end of lines in the files I
modified: I can see them and remove them in vi with %s/^M//g
However, I can't see them in source files after modification.


View this message in context:
Sent from the Dev mailing list archive at

More information about the LibreOffice mailing list