-
-
Notifications
You must be signed in to change notification settings - Fork 200
/
.gitattributes
26 lines (20 loc) · 734 Bytes
/
.gitattributes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Lineendings
*.sln eol=crlf
*.vcproj eol=crlf
*.vcxproj* eol=crlf
src/shared/revision_nr.h eol=lf
src/shared/revision_sql.h eol=lf
# 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
*.cpp linguist-language=c++
*.c linguist-language=c
*.h linguist-language=c
*.java inguist-language=java
*.sh inguist-language=shell