Hi Laurent,

2017-01-01 21:08, Laurent BP yazmış:
Sound a lot like you made the git init or git clone command from a msdos
prompt and not cygwin.
Thanks Jan for your answer. But I'm on Linux system (OpenSuse 13.2), I'm editing file with KWrite and I launched git from a Konsole terminal. My
previous commit did not suffer from this default:
https://gerrit.libreoffice.org/#/c/32519/
My previous commit on help was also correct
https://gerrit.libreoffice.org/#/c/30180/

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


I experienced a similar problem once when I pasted some piece of code from a web page. Opening the source file with vim and giving this command (to set file format to unix) worked for me:

:set ff=unix

Cheers,
Muhammet



-----
LibreOffice 5.1.4.1
--
View this message in context:
http://nabble.documentfoundation.org/Git-commit-adds-M-at-end-of-line-tp4204025p4204050.html
Sent from the Dev mailing list archive at Nabble.com.
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to