summaryrefslogtreecommitdiffstats
path: root/Utilities/.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 /Utilities/.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 'Utilities/.gitattributes')
-rw-r--r--Utilities/.gitattributes4
1 files changed, 4 insertions, 0 deletions
diff --git a/Utilities/.gitattributes b/Utilities/.gitattributes
index c6345eb..bd97802 100644
--- a/Utilities/.gitattributes
+++ b/Utilities/.gitattributes
@@ -1,3 +1,7 @@
/Git export-ignore
/GitSetup export-ignore
SetupForDevelopment.sh export-ignore
+
+# Do not format third-party sources.
+/KWIML/** -format.clang-format
+/cm*/** -format.clang-format