-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
.gitattributes
32 lines (26 loc) · 1010 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
27
28
29
30
31
32
.git* export-ignore
.hooks* export-ignore
*.sh crlf=input
newalpha crlf=input
newversion crlf=input
pre-commit crlf=input
# Custom attribute to mark sources as using our C code style.
[attr]our-c-style whitespace=tab-in-indent,-blank-at-eol format.clang-format=16
*.c our-c-style
*.h our-c-style
*.cpp our-c-style
*.cxx our-c-style
*.hxx our-c-style
*.txx our-c-style
*.mm our-c-style
*.glsl whitespace=tab-in-indent,-blank-at-eol
*.txt whitespace=tab-in-indent,-blank-at-eol
*.cmake whitespace=tab-in-indent,-blank-at-eol
*.sha512 eol=lf
*.md whitespace=tab-in-indent conflict-marker-size=30
# Third party code.
Utilities/KWIML/** -format.clang-format
Utilities/KWSys/** -format.clang-format
Utilities/MetaIO/** -format.clang-format
ThirdParty/** -format.clang-format
CMake/patches/** -format.clang-format