Added .gitattributes file that should give us consistent line endings

This commit is contained in:
Jonatan Heyman 2013-12-02 22:17:57 +01:00
parent a58c4695af
commit e215516d14
1 changed files with 20 additions and 0 deletions

20
.gitattributes vendored Normal file
View File

@ -0,0 +1,20 @@
# Set default behaviour, in case users don't have core.autocrlf set.
* text=auto
# Explicitly declare text files we want to always be normalized and converted
# to native line endings on checkout.
*.c text
*.h text
*.py text
*.js text
*.rst text
*.css text
*.html text
# Declare files that will always have CRLF line endings on checkout.
*.sln text eol=crlf
# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
*.gif binary