Skip to content
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

Change line endings to auto #1885

Merged
merged 2 commits into from Mar 11, 2021
Merged

Change line endings to auto #1885

merged 2 commits into from Mar 11, 2021

Conversation

vitek-karas
Copy link
Member

This fixes the problem on Windows where files are checked out as LF, but formatting/lint will enforce CRLF.

To apply to an existing clone of the repo run from the repo root. There should be no un-commited local changes, it should work find with locally commited changes.

git rm -r :/
git checkout HEAD -- :/

Copy link
Member

@MichalStrehovsky MichalStrehovsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@vitek-karas vitek-karas merged commit 1728286 into dotnet:main Mar 11, 2021
@vitek-karas vitek-karas deleted the WindowsEOL branch March 11, 2021 13:53
agocke pushed a commit to dotnet/runtime that referenced this pull request Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants