summaryrefslogtreecommitdiffstats
path: root/Source/.gitattributes
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-02-22 20:01:23 (GMT)
committerBrad King <brad.king@kitware.com>2017-02-22 21:59:26 (GMT)
commitd5f39a56a44fe061018c6acc15e1c3aa7337ff54 (patch)
tree4a4e0bf7ef543de77f176899540a426a5d6b6d23 /Source/.gitattributes
parentf6986ee479f1cce6da17859eaf6a0616852b9e20 (diff)
downloadCMake-d5f39a56a44fe061018c6acc15e1c3aa7337ff54.zip
CMake-d5f39a56a44fe061018c6acc15e1c3aa7337ff54.tar.gz
CMake-d5f39a56a44fe061018c6acc15e1c3aa7337ff54.tar.bz2
clang-format.bash: Use Git attributes to mark files for formatting
Diffstat (limited to 'Source/.gitattributes')
-rw-r--r--Source/.gitattributes4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/.gitattributes b/Source/.gitattributes
index 47eedfb..1cec8a3 100644
--- a/Source/.gitattributes
+++ b/Source/.gitattributes
@@ -15,3 +15,7 @@
/cmFortranParser.cxx generated
/cmFortranParserTokens.h generated
/cmListFileLexer.c generated
+
+# Do not format third-party sources.
+/bindexplib.* -format.clang-format
+/kwsys/** -format.clang-format