updated .gitattributes to always use CRLF#736
Conversation
…o gitattributes
|
I'm not entirely sure why AppVeyor isn't passing with this commit yet, but I actually successfully ran it on the branch itself (before the merge) - notice that AppVeyor doesn't clone the working branch directly for PRs, which is likely the reason behind the failed tests. |
updated .gitattributes to always use CRLF
|
This looks fine, so I've merged it in According to the docs, I think git always goes with LF for
The issue would only show up after checkin I believe, which would explain why it did not show up in your testing. |
|
We may have to now renormalize all the files in the repo too to use crlf. |
|
@mjbvz The Originally, we started with Next, we said The problem with this was that a) it was only applicable to *.cs files and b) we hadn't normalized all of the line endings in the repo because of the issue described in #727 (comment) Next, we changed things up so that a) the line ending normalization would apply more broadly ( The problem is that I wrongly assumed that Now, we specify Anyways, in conclusion, this is all a really long way of saying... we shouldn't need to renormalize any files. 😃 |
I assumed text=auto would default to CRLF on Windows, but apparently that doesn't occur in all cases (namely, our CI server). This change explicitly normalizes line endings to CRLF on checkout.