Git commit adds ^M at end of line
Thorsten Behrens
thb at libreoffice.org
Fri Jan 6 00:11:45 UTC 2017
Laurent BP wrote:
> But this morning, when I make the commit with "git commit -a", enter title
> and an empty line, save and exit, the result is huge: all lines of files are
> considered modified. Check with "git log -p" shows that git is considering
> that all modified files have now ^M at end of each line (which means new
> line in MS-DOS).
>
Hi Laurent,
I was hitting something similar in December - sadly not recalling the
details, but is it possible that you have a non-empty .gitattributes
file in that repo, messing with settings as described here:
https://help.github.com/articles/dealing-with-line-endings/ ?
Cheers,
-- Thorsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: Digital signature
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20170106/c0fa90e9/attachment.sig>
More information about the LibreOffice
mailing list