Suddenly file's end of line becomes `lf` to `crlf`

Sanemat's Avatar

Sanemat

03 Nov, 2015 11:15 PM

Today, suddenly file's end of line becomes lf to crlf.
I set
.gitattributes

* text eol=lf
and git config --global core.autocrlf false on appveyor.yml init section.
But still this occurs.

https://ci.appveyor.com/project/sanemat/electron-triage-for-github/...

changelog.md: line 1: invalid newline: crlf, expected: lf
changelog.md: line 2: invalid newline: crlf, expected: lf
changelog.md: line 3: invalid newline: crlf, expected: lf
changelog.md: line 4: invalid newline: crlf, expected: lf
changelog.md: line 5: invalid newline: crlf, expected: lf
changelog.md: line 6: invalid newline: crlf, expected: lf
changelog.md: line 7: invalid newline: crlf, expected: lf
changelog.md: line 8: invalid newline: crlf, expected: lf
changelog.md: line 9: invalid newline: crlf, expected: lf
changelog.md: line 10: invalid newline: crlf, expected: lf
(snip)

Is something happening?

  1. Support Staff 1 Posted by Feodor Fitsner on 04 Nov, 2015 01:25 AM

    Feodor Fitsner's Avatar

    It's been fixed.

    That's strange because it was set to core.autocrlf false already. It's a new image we are working on for new environment (based on Google Compute Engine) and your builds are running there at the moment.

    I've changed it to core.autocrlf input on the image as on current production environment and it worked without your recent changes: https://ci.appveyor.com/project/FeodorFitsner/electron-triage-for-g...

    Thanks for the catch!

  2. 2 Posted by Sanemat on 04 Nov, 2015 01:50 AM

    Sanemat's Avatar

    Thank you for your quick response!

  3. Sanemat closed this discussion on 04 Nov, 2015 01:50 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac