aboutsummaryrefslogtreecommitdiff
path: root/.gitattributes
blob: 15410b16b46a4488324462c1c815cb59c2b70ec1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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 eol=lf
*.diff       whitespace=-trailing-space eol=lf