Added a gitattribute file to let git deal with line ending issues

This commit is contained in:
Raphaël Doursenaud 2013-06-03 11:58:35 +02:00
parent d25687276e
commit 6856ca3993

21
.gitattributes vendored Normal file
View File

@ -0,0 +1,21 @@
# 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.
*.php text
*.sql text
*.htm text
*.html text
*.js text
*.css text
*.lang text
*.txt text
*.md text
# Denote all files that are truly binary and should not be modified.
*.ico binary
*.png binary
*.jpg binary
*.odt binary
*.odf binary