Permalink
Browse files

Added .gitattributes to ensure that line endings will be adjusted aut…

…omatically for all text files.
  • Loading branch information...
rimas-kudelis committed Mar 10, 2013
1 parent 30f8e5b commit 2b72b2823551f1039e0e80a8f5c5bee3aa5b21bc
Showing with 13 additions and 0 deletions.
  1. +13 −0 .gitattributes
View
@@ -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.
+*.php text
+*.conf text
+*.txt text
+*.sql text
+*.pl text
+
+# Denote all files that are truly binary and should not be modified.
+*.gif binary

0 comments on commit 2b72b28

Please sign in to comment.