Adding git attributes for handling lineendings

This commit is contained in:
Henrik Ekblad
2014-03-04 16:31:15 +01:00
parent 546ed1d4ae
commit 06ec39cc72
+17
View File
@@ -0,0 +1,17 @@
# 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
*.cpp text
*.h text
*.ino text
*.xml text
*.lua text
# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
*.gif binary