CMake/.gitattributes
KWSys Upstream fda80fde76 KWSys 2017-03-24 (7e9f7b7b)
Code extracted from:

    https://gitlab.kitware.com/utils/kwsys.git

at commit 7e9f7b7bdc8ac54006a40a775867022c4d678b06 (master).

Upstream Shortlog
-----------------

Brad King (3):
      0af48083 Drop custom Git whitespace check attribute
      6365886c Define a custom Git attribute to mark sources using our C style
      d22c2743 clang-format.bash: Use Git attributes to mark files for formatting

Egor Pugin (3):
      ce44c58a FStream: Export ReadBOM() from shared library
      04e24b2b ConsoleBuf: Remove export macro from BasicConsoleBuf template
      858d5edd Encoding: Export CommandLineArguments from shared library
2017-03-24 15:16:56 -04:00

40 lines
1.1 KiB
Plaintext

.gitattributes export-ignore
.hooks* export-ignore
# Custom attribute to mark sources as using our C code style.
[attr]our-c-style whitespace=tab-in-indent format.clang-format
# Custom attribute to mark sources as generated.
# Do not perform whitespace checks. Do not format.
[attr]generated whitespace=-tab-in-indent,-indent-with-non-tab -format.clang-format
bootstrap crlf=input
configure crlf=input
*.[1-9] crlf=input
*.sh crlf=input
*.sh.in crlf=input
*.bat -crlf
*.bat.in -crlf
*.dsp -crlf
*.dsw -crlf
*.pfx -crlf
*.png -crlf
*.sln -crlf
*.vcproj -crlf
*.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
*.cmake whitespace=tab-in-indent
*.rst whitespace=tab-in-indent conflict-marker-size=79
*.txt whitespace=tab-in-indent