Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Repository: Add filetype attribute handling for specific filetypes fo…

…und in the repository.
  • Loading branch information...
commit 13cfd105fe2cdd0786b5f2560f67f506535566be 1 parent a1c708d
click click authored
Showing with 16 additions and 0 deletions.
  1. +16 −0 .gitattributes
16 .gitattributes
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.