-
Notifications
You must be signed in to change notification settings - Fork 6
/
.gitattributes
35 lines (29 loc) · 1.01 KB
/
.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
27
28
29
30
31
32
33
34
35
# 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++
*.hpp linguist-language=c++
*.cxx linguist-language=c++
*.in linguist-language=c++
*.h linguist-language=c++
*.c linguist-language=c
*.y linguist-language=y
*.java linguist-language=java
*.sh linguist-language=shell
*.xml linguist-language=xml
*.md linguist-language=markdown
*.html linguist-language=html
*.cmake linguist-language=cmake
CMakeLists.txt linguist-language=cmake