Update to 2.8.10.2
[platform/upstream/cmake.git] / .gitattributes
1 .gitattributes   export-ignore
2 .hooks*          export-ignore
3
4 # Custom attribute to mark sources as using our C code style.
5 [attr]our-c-style  whitespace=tab-in-indent  format.clang-format
6
7 # Custom attribute to mark sources as generated.
8 # Do not perform whitespace checks.  Do not format.
9 [attr]generated  whitespace=-tab-in-indent,-indent-with-non-tab -format.clang-format
10
11 bootstrap        crlf=input
12 configure        crlf=input
13 *.[1-9]          crlf=input
14 *.sh             crlf=input
15 *.sh.in          crlf=input
16
17 *.bat           -crlf
18 *.bat.in        -crlf
19 *.dsp           -crlf
20 *.dsw           -crlf
21 *.pfx           -crlf
22 *.png           -crlf
23 *.sln           -crlf
24 *.vcproj        -crlf
25
26 *.c              our-c-style
27 *.cc             our-c-style
28 *.cpp            our-c-style
29 *.cu             our-c-style
30 *.cxx            our-c-style
31 *.h              our-c-style
32 *.hh             our-c-style
33 *.hpp            our-c-style
34 *.hxx            our-c-style
35 *.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