Repository: Add filetype attribute handling for specific filetypes found in the repository.

This commit is contained in:
Per Wilhelmsen
2011-05-05 23:37:53 +02:00
parent a1c708d62c
commit 13cfd105fe

16
.gitattributes vendored Normal file
View File

@@ -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