aboutsummaryrefslogtreecommitdiff
path: root/.gitattributes
blob: 40a4005bf43acbb46b88046c0783ab468a1c1413 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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

# Ignore sql/* files
sql/* linguist-documentation