Skip to content

Commit 6aa3964

Browse files
Add gitattributes.
1 parent 1da4e67 commit 6aa3964

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.gitattributes

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
.git* export-ignore
2+
.hooks* export-ignore
3+
4+
*.sh crlf=input
5+
*.sh.in crlf=input
6+
7+
# Custom attribute to mark sources as using our C code style.
8+
[attr]our-c-style whitespace=tab-in-indent,-blank-at-eol format.clang-format
9+
10+
*.c our-c-style
11+
*.h our-c-style
12+
*.cpp our-c-style
13+
*.cxx our-c-style
14+
*.hxx our-c-style
15+
*.txx our-c-style
16+
*.mm our-c-style
17+
*.txt whitespace=tab-in-indent,-blank-at-eol
18+
*.cmake whitespace=tab-in-indent,-blank-at-eol
19+
20+
*.md whitespace=tab-in-indent conflict-marker-size=30

0 commit comments

Comments
 (0)