Skip to content

Change line endings to auto#1885

Merged
vitek-karas merged 2 commits intodotnet:mainfrom
vitek-karas:WindowsEOL
Mar 11, 2021
Merged

Change line endings to auto#1885
vitek-karas merged 2 commits intodotnet:mainfrom
vitek-karas:WindowsEOL

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.

2 participants