>LF vs CRLF vs CRthis is most annoying shit ever
My boss is bitching that all his emails get reddit-spaced and otherwise format-butchered when they are forwarded and I told him there isn't much he can do once they're on others' computers.
>>110423786Solved problem.
>>110423786For maximal compatibility, simply strip CR characters when you load a file, and replace LF with CRLF when you save a file.Nothing uses just CR as a linebreak except really old Macs.
You can add a .gitattributes file to enforce the line endings you want. Like if you want just LF you can put* text=auto eol=lfIn .gitattributes
* text=auto eol=lf