-
Notifications
You must be signed in to change notification settings - Fork 3
Add .gitattributes to establish line ending policy. #39
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
base: master
Are you sure you want to change the base?
Conversation
| *.md text | ||
| *.sam text | ||
| *.dict text | ||
| *.vcf 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.
@cmnbroad Do vcf indexes really work with either line ending?
lbergelson
left a comment
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.
Question and comments
| *.bai binary | ||
| *.bcf binary | ||
| *.bgz binary | ||
| *.bgzf |
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.
this is missing a binary
| @@ -0,0 +1,32 @@ | |||
| # All text files normalized to lf in repo (overrides local core.autocrlf) | |||
| * text=auto | |||
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.
Does this mean that any file that isn't listed as binary is treated as text? It seems safter to do it the other way.
| *.gradle text | ||
| *.md text | ||
| *.sam text | ||
| *.dict 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.
probably should add .txt in there, pretty good chance one will turn up...
| # Explicitly declare text files that can use native line endings on checkout | ||
| # (normalized on checkin). | ||
|
|
||
| *.java 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.
maybe add LICENSE, AUTHORS, *.yml, *.bat, gradlew, *.sh as text?
First attempt at a .gitattribtutes to normalize line endings.