summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJacob Schatz <jschatz1@gmail.com>2017-12-20 15:29:27 -0500
committerJacob Schatz <jschatz1@gmail.com>2017-12-20 15:29:27 -0500
commit6f45cbd197b055c1ac18b32fa612b1b462f631b0 (patch)
tree4d834fecbfdc4da358883876af797bb709681fa8 /scripts
parent39efc5c80c132657eaf0e1e4704b9e6f76c94d89 (diff)
downloadgitlab-ce-6f45cbd197b055c1ac18b32fa612b1b462f631b0.tar.gz
Add script to enable code formatters
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/add-code-formatters4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/add-code-formatters b/scripts/add-code-formatters
new file mode 100755
index 00000000000..6a22c9a3866
--- /dev/null
+++ b/scripts/add-code-formatters
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+touch ./.git/hooks/pre-commit
+ln -s -f ./pre-commit .git/hooks/pre-commit \ No newline at end of file