3
tientq64
158d

First, the motherfucker CRLF. I wrote some test cases, split the string into lines. It worked fine until I pulled it from Git. Spent 30 minutes fixing it until I looked down at the VSCode statusbar and saw... "CRLF"!

Comments
  • 1
    This is why I always add a `.gitattributes`

    Then you can set the rules e.g:

    * text=auto

    *.sh text eol=lf
  • 0
    @donkulator Let me know when you fix `sh` ;P
  • 1
    used to annoy me that os's couldn't standardize their line endings.
  • 1
    Blame windows for this, every other OS manages to use non-retarded line endings
    Not to mention \ and case insensitive paths... Who thought that's a good idea
Add Comment