summaryrefslogtreecommitdiffstats
path: root/.hooks-config.bash
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-10-24 14:18:36 (GMT)
committerBrad King <brad.king@kitware.com>2011-10-24 14:18:36 (GMT)
commit3d5869ca3c065c872d6365164b301d2f8d7e2b64 (patch)
tree9065e7b8fbf06ec93a64bf4291c88f012db68e25 /.hooks-config.bash
parent89742d73cc684a78586fad2497048d9329c1160e (diff)
downloadCMake-3d5869ca3c065c872d6365164b301d2f8d7e2b64.zip
CMake-3d5869ca3c065c872d6365164b301d2f8d7e2b64.tar.gz
CMake-3d5869ca3c065c872d6365164b301d2f8d7e2b64.tar.bz2
Add pre-commit|commit-msg|prepare-commit-msg hook placeholders
Add CMake-specific hook placeholders that chain from the main hooks branch after it is installed into the local .git/hooks directory.
Diffstat (limited to '.hooks-config.bash')
-rw-r--r--.hooks-config.bash18
1 files changed, 18 insertions, 0 deletions
diff --git a/.hooks-config.bash b/.hooks-config.bash
new file mode 100644
index 0000000..97152f6
--- /dev/null
+++ b/.hooks-config.bash
@@ -0,0 +1,18 @@
+#=============================================================================
+# CMake - Cross Platform Makefile Generator
+# Copyright 2000-2011 Kitware, Inc., Insight Software Consortium
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+
+# Loaded by .git/hooks/(pre-commit|commit-msg|prepare-commit-msg)
+# during git commit after local hooks have been installed.
+
+hooks_chain_pre_commit="Utilities/Git/pre-commit"
+hooks_chain_commit_msg="Utilities/Git/commit-msg"
+hooks_chain_prepare_commit_msg="Utilities/Git/prepare-commit-msg"