Git commit adds ^M at end of line

Wols Lists antlists at
Sun Jan 1 20:31:54 UTC 2017

On 01/01/17 19:08, Laurent BP wrote:
> I can remove these ^M in the patch file, but not in source files.

Git *can* handle all this stuff automatically. It sounds like you've got
some config setting wrong (although from your description I can't see how!).

There are some special settings that force a repository to be all as per
Unix with lf endings, but that will convert stuff to crlf for doze etc
on checkout/in.

Sounds to me like something's corrupted that on your system.


More information about the LibreOffice mailing list