Added .gitattributes file to handle line endings.

Signed-off-by: Anders Hammar <anders@hammar.net>
This commit is contained in:
Anders Hammar 2013-12-19 14:11:24 +01:00
parent f3426cc37b
commit 15316793ae
1 changed files with 13 additions and 0 deletions

13
.gitattributes vendored Normal file
View File

@ -0,0 +1,13 @@
# 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.
*.java text diff=java
*.html text diff=html
*.jelly text
# Denote all files that are truly binary and should not be modified.
*.png binary
*.gif binary
*.jpg binary