Git commit adds ^M at end of line

Laurent BP jumbo4444 at yahoo.fr
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.

0001-Basic-beautify-Examples-with-bascode-tag.patch
<http://nabble.documentfoundation.org/file/n4204055/0001-Basic-beautify-Examples-with-bascode-tag.patch>  




-----
LibreOffice 5.1.4.1
--
View this message in context: http://nabble.documentfoundation.org/Git-commit-adds-M-at-end-of-line-tp4204025p4204055.html
Sent from the Dev mailing list archive at Nabble.com.


More information about the LibreOffice mailing list