Browse Source

Update gitattributes with some text files for avoid EOF problems with Git.

LuisAntonRebollo 10 years ago
parent
commit
06b138d6d1
1 changed files with 13 additions and 0 deletions
  1. 13 0
      .gitattributes

+ 13 - 0
.gitattributes

@@ -3,3 +3,16 @@
 
 # Set to always use Windows line endings
 *.cs text eol=crlf
+
+# Explicitly declare text files we want to always be normalized and converted 
+# to native line endings on checkout.
+*.c text
+*.h text
+*.cpp text
+*.hpp text
+*.ppm text
+*.nsh text
+*.nlf text
+*.command
+*.txt
+*.ini