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

Add .gitattributes and normalize source files #172

Merged
merged 2 commits into from Dec 6, 2018

Conversation

Projects
None yet
5 participants
@sharwell
Member

sharwell commented Dec 6, 2018

Normalization of text content in Git repositories is sensitive to per-user configurations, but much less sensitive when .gitattributes is used. This change adds a default .gitattributes and renormalizes all source files to match the new form.

The commit which normalizes the source files (only 2 affected files) is assigned to @dotnet-bot to avoid history confusion or unrealistic contributor statistics.

Both files which were normalized previously used CRLF line endings, so a diff of the content on a Windows machine is likely to show that the files are binary equal. The change was more about updating the Git metadata of the files.

sharwell and others added some commits Dec 6, 2018

Normalize all source files
git add --all --renormalize

@sharwell sharwell requested a review from dotnet/dotnet-winforms as a code owner Dec 6, 2018

@Tanya-Solyanik

Thank you! Looks good!

@zsd4yr zsd4yr merged commit 8f926a4 into dotnet:master Dec 6, 2018

1 check passed

license/cla All CLA requirements met.
Details

@sharwell sharwell deleted the sharwell:gitattributes branch Dec 7, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment