-
Notifications
You must be signed in to change notification settings - Fork 169
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
[INFRA] Enforce consistent line endings via .gitattributes #861
[INFRA] Enforce consistent line endings via .gitattributes #861
Conversation
9c8bff1
to
69fea08
Compare
69fea08
to
510c8ed
Compare
*.png -text | ||
*.jpg -text |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The GitHub guide has the following for these lines:
# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
Is -text
equivalent? I think I find the GitHub way (together with the comment) more straight forward.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess "not text" is the same as "binary". I just copied over from the source - the gitattributes documentation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually binary
is equivalent to -text -diff
. Since this patch is about line endings, I'd rather stick with the documentation.
Thanks @DimitriPapadopoulos! |
As documented in:
Fixes #860.