Skip to content

Commit

Permalink
Added a .gitattributes to configure how files are handled in git.
Browse files Browse the repository at this point in the history
This is required for the integration tests in particular to ensure the line endings of the uncompressed files are not normalized.
  • Loading branch information
Lukazoid committed Mar 29, 2017
1 parent fb85b41 commit c906ffb
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# automatically handle text files
* text=auto

# text files
*.md text
*.txt text

# source code files
*.rs text
*.c text

# configuration files
*.yml text
*.toml text

# compressed files
*.gz binary

# no end-of-line normalization should take place for integration test text files
tests/*.txt -text

0 comments on commit c906ffb

Please sign in to comment.