.gitattributes 1.05 KB
Newer Older
Bill Hoffman's avatar
Bill Hoffman committed
1
.gitattributes   export-ignore
2
.hooks*          export-ignore
Bill Hoffman's avatar
Bill Hoffman committed
3

4 5 6
# Custom attribute to mark sources as using our C code style.
[attr]our-c-style  whitespace=tab-in-indent

7 8 9 10
# Custom attribute to mark sources as generated.
# Do not perform whitespace checks.
[attr]generated  whitespace=-tab-in-indent,-indent-with-non-tab

Bill Hoffman's avatar
Bill Hoffman committed
11 12 13 14 15 16 17
bootstrap        crlf=input
configure        crlf=input
*.[1-9]          crlf=input
*.sh             crlf=input
*.sh.in          crlf=input

*.bat           -crlf
18
*.bat.in        -crlf
Bill Hoffman's avatar
Bill Hoffman committed
19 20
*.dsp           -crlf
*.dsw           -crlf
21 22
*.pfx           -crlf
*.png           -crlf
Bill Hoffman's avatar
Bill Hoffman committed
23 24
*.sln           -crlf
*.vcproj        -crlf
25

26 27 28 29 30 31 32 33 34 35
*.c              our-c-style
*.cc             our-c-style
*.cpp            our-c-style
*.cu             our-c-style
*.cxx            our-c-style
*.h              our-c-style
*.hh             our-c-style
*.hpp            our-c-style
*.hxx            our-c-style
*.notcu          our-c-style
36

37
*.cmake          whitespace=tab-in-indent
38
*.rst            whitespace=tab-in-indent conflict-marker-size=79
39
*.txt            whitespace=tab-in-indent