Skip to content
Browse files

Repository: Add filetype attribute handling for specific filetypes fo…

…und in the repository.
  • Loading branch information...
1 parent a1c708d commit 13cfd105fe2cdd0786b5f2560f67f506535566be @click click committed
Showing with 16 additions and 0 deletions.
  1. +16 −0 .gitattributes
16 .gitattributes
@@ -0,0 +1,16 @@
+# Lineendings
+*.sln eol=crlf
+*.vcproj eol=crlf
+*.vcxproj* eol=crlf
+# Whitespace rules
+# strict (no trailing, no tabs)
+*.cpp whitespace=trailing-space,space-before-tab,tab-in-indent,cr-at-eol
+*.h whitespace=trailing-space,space-before-tab,tab-in-indent,cr-at-eol
+# normal (no trailing)
+*.sql whitespace=trailing-space,space-before-tab,cr-at-eol
+*.txt whitespace=trailing-space,space-before-tab,cr-at-eol
+# special files which must ignore whitespace
+*.patch whitespace=-trailing-space

0 comments on commit 13cfd10

Please sign in to comment.
Something went wrong with that request. Please try again.