summaryrefslogtreecommitdiff
path: root/Utilities/SetupForDevelopment.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/SetupForDevelopment.sh')
-rwxr-xr-xUtilities/SetupForDevelopment.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/Utilities/SetupForDevelopment.sh b/Utilities/SetupForDevelopment.sh
index 0a9df7e836..39152bcc42 100755
--- a/Utilities/SetupForDevelopment.sh
+++ b/Utilities/SetupForDevelopment.sh
@@ -11,3 +11,7 @@ Utilities/GitSetup/tips
# Rebase master by default
git config rebase.stat true
git config branch.master.rebase true
+
+# Record the version of this setup so Git/pre-commit can check it.
+SetupForDevelopment_VERSION=1
+git config hooks.SetupForDevelopment ${SetupForDevelopment_VERSION}