diff options
author | Brad King <brad.king@kitware.com> | 2017-02-22 15:01:23 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-02-22 16:59:26 -0500 |
commit | d5f39a56a44fe061018c6acc15e1c3aa7337ff54 (patch) | |
tree | 4a4e0bf7ef543de77f176899540a426a5d6b6d23 /.gitattributes | |
parent | f6986ee479f1cce6da17859eaf6a0616852b9e20 (diff) | |
download | cmake-d5f39a56a44fe061018c6acc15e1c3aa7337ff54.tar.gz |
clang-format.bash: Use Git attributes to mark files for formatting
Diffstat (limited to '.gitattributes')
-rw-r--r-- | .gitattributes | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.gitattributes b/.gitattributes index abb698ad09..38291609ee 100644 --- a/.gitattributes +++ b/.gitattributes @@ -2,11 +2,11 @@ .hooks* export-ignore # Custom attribute to mark sources as using our C code style. -[attr]our-c-style whitespace=tab-in-indent +[attr]our-c-style whitespace=tab-in-indent format.clang-format # Custom attribute to mark sources as generated. -# Do not perform whitespace checks. -[attr]generated whitespace=-tab-in-indent,-indent-with-non-tab +# 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 |