Skip to content

Conversation

@cmnbroad
Copy link
Collaborator

First attempt at a .gitattribtutes to normalize line endings.

*.md text
*.sam text
*.dict text
*.vcf text
Copy link
Member

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?

Copy link
Member

@lbergelson lbergelson left a 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
Copy link
Member

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
Copy link
Member

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
Copy link
Member

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
Copy link
Member

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?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants