summaryrefslogtreecommitdiff
path: root/scripts/add-code-formatters
diff options
context:
space:
mode:
authorJacob Schatz <jschatz1@gmail.com>2017-12-20 15:54:21 -0500
committerJacob Schatz <jschatz1@gmail.com>2017-12-20 15:54:21 -0500
commit060bceeacb899b57e4a3255e5610257ca8c28b67 (patch)
treefd669c268ed2dd9a5f0c48507df7f1132a52cc29 /scripts/add-code-formatters
parentb3b7d12496fda8680a8764701107e819d253fb86 (diff)
downloadgitlab-ce-060bceeacb899b57e4a3255e5610257ca8c28b67.tar.gz
Remove `-f` to not ruin other people's existing pre-commit files.
Diffstat (limited to 'scripts/add-code-formatters')
-rwxr-xr-xscripts/add-code-formatters2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/add-code-formatters b/scripts/add-code-formatters
index 583676be67c..8e60875e3a6 100755
--- a/scripts/add-code-formatters
+++ b/scripts/add-code-formatters
@@ -1,4 +1,4 @@
#!/bin/sh
touch ./.git/hooks/pre-commit
-ln -s -f ./pre-commit .git/hooks/pre-commit
+ln -s ./pre-commit .git/hooks/pre-commit