Git commit adds ^M at end of line

Laurent BP jumbo4444 at yahoo.fr
Sat Jan 21 16:56:10 UTC 2017


Thanks all for your answers. Sorry for the delay: I fell asleep, and just
wake up. ;-)

I think I found the root problem of this strange behavior. Many help files
contains some few lines ending with a ^M character. They are inserted after
<bascode> and before </bascode>, for instance here:
http://opengrok.libreoffice.org/xref/help/source/text/sbasic/shared/03030108.xhp#40

I think that my KWrite detected these characters and decided to
automatically add one to each line. This was not the case for all the files
of the patch, because I changed my KWrite option during my patching.

Solution was to restart from scratch, and edit with vim. I could proposed my
change here:
https://gerrit.libreoffice.org/33240/

I will investigate about these extra ^M characters.

Best regards,



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


More information about the LibreOffice mailing list