Changing EOL from cr to crlf seems to be ignored by git

Viewed 41

I have a Github repo where I put some rather obscure files into; they have their own file ending (while being pretty much normal txt files) and are UTF-8-BOM encoded with cr eol.

Github doensn't like cr eols, so you have line breaks, but everything is still on one line which is understandably rather dumb for diffs.

So I made a .gitattributes file with *.gdl text eol=crlf – but git doesn't care.

Had anybody a similar case?
I'm on Windows, btw.

0 Answers
Related