Git commit adds ^M at end of line

Laurent BP jumbo4444 at
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:

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:

I will investigate about these extra ^M characters.

Best regards,

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

More information about the LibreOffice mailing list