.gitattributes 968 Bytes
Newer Older
Ken Martin's avatar
Ken Martin committed
1
.git*            export-ignore
2
.hooks*          export-ignore
Ken Martin's avatar
Ken Martin committed
3

4
*.sh             crlf=input
5 6
newalpha         crlf=input
newversion       crlf=input
7
pre-commit       crlf=input
8

9 10 11 12 13 14 15 16 17 18 19 20 21
# 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=8

*.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
22

23 24
*.sha512         eol=lf

25
*.md             whitespace=tab-in-indent conflict-marker-size=30
26 27 28 29 30 31

# Third party code.
Utilities/KWIML/**  -format.clang-format
Utilities/KWSys/**  -format.clang-format
Utilities/MetaIO/** -format.clang-format
ThirdParty/**       -format.clang-format