-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use git config core.autocrlf false
on windows machines
#1184
Comments
|
@bzoz Hmm, in that case we should set |
@MSLaguana suggested in nodejs/node#19221 (comment) to update |
There has been plenty of discussion around this in the past. In Windows, LF should work as much as possible but CRLF is the right line ending. Thus, we should always make sure that Node compiles and works with CRLF. Git is installed with with I've once made my own attempt at
|
@joyeecheung @BridgeAR is this still needed? |
@maclover7 The particular issue should be fixed by nodejs/node#20754 I think it's fine to keep |
Refs: nodejs/node#19221
I think the current git setting on those machines converts
CRLF
toLF
on checkout, which should not be what normal windows devs are using because the JS linter would complain about all the CRLF in the code base, and this causes the Windows CI of nodejs/node#19221 to fail because it is matching output mixed with code from local files.Can somebody help me configure this on the CI?
git config core.autocrlf false
should stop git from converting the line feeds. I don't think I have access to the windows jobs. Thanks!The text was updated successfully, but these errors were encountered: