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

Fix up .gitattributes to clone .sh files with LF #22036

Merged
merged 2 commits into from
Sep 11, 2017

Conversation

khyperia
Copy link
Contributor

Also, src/Compilers/CSharp/CscCore/csc (and vbc) no longer exist.

This is particularly annoying when using WSL with git config core.eol crlf, as that fixes a lot of issues with native windows git interacting with WSL git, but we should still check out all of our helper scripts with LF, so they can still be ran in WSL. (If they have CRLF line endings, everything gets really upset)

@khyperia
Copy link
Contributor Author

(apparently if you forget to add reviewers/labels, then try to add them in quickly, and have the label editor open while dnfclas does its thing, the web UI sets labels to the old state (when you initially opened the editor) when you confirm adding the label - so cla-already-signed got removed 😅)

.gitattributes Outdated
@@ -10,8 +10,7 @@
#
# However, right now the toolset packages must be built on Windows, and so the
# files must be hard-coded to be cloned with LF
src/Compilers/CSharp/CscCore/csc text eol=lf
src/Compilers/VisualBasic/VbcCore/vbc text eol=lf
*.sh text eol=lf
Copy link
Member

Choose a reason for hiding this comment

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

The comment is no longer matching the code now. Can we update accordingly?

@khyperia
Copy link
Contributor Author

@jasonmalinowski Updated the comment

@khyperia khyperia merged commit 2061472 into dotnet:master Sep 11, 2017
@khyperia khyperia deleted the fix_gitattributes branch September 11, 2017 22:29
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.

4 participants