Glorious diff, but only thing that matters is the .gitattributes file.
The documentation and recommendations are quite confusing, with some proposing listing every single file extension, others saying you should set * text=auto eol=LF. But afaict this should be enough, and held up when testing it.
I tried explicitly creating a file with CRLF, git warns when committing it, but I can push it just fine and it stays as CRLF on my local machine - but if i curl it from github it's LF. So in case one is working on a windows machine and some tool or editor insist on files being CRLF - I think this should work out for everybody.
Will branch future PR's from this, so make sure to merge this one first.
Fixes #62
Glorious diff, but only thing that matters is the
.gitattributes
file. The documentation and recommendations are quite confusing, with some proposing listing every single file extension, others saying you should set* text=auto eol=LF
. But afaict this should be enough, and held up when testing it. I tried explicitly creating a file with CRLF, git warns when committing it, but I can push it just fine and it stays as CRLF on my local machine - but if i curl it from github it's LF. So in case one is working on a windows machine and some tool or editor insist on files being CRLF - I think this should work out for everybody.Will branch future PR's from this, so make sure to merge this one first.