summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorSalvatore Bonaccorso <carnil@debian.org>2023-07-08 09:05:31 +0200
committerSalvatore Bonaccorso <carnil@debian.org>2023-07-08 09:05:31 +0200
commitbd9fa4e17c6e1b1cf433735f127bd4cd822a47eb (patch)
tree826aeb0c042b5bbe4079a5f4f9af64175b2ffdc7 /bin
parent05c027116d32666424ddc4a3691af9547473c826 (diff)
Revert "setup-repo: ensure hooks directory exists"
This reverts commit e57c301b2c5ad6d664d964aa961e2edfb6c6e4cc. Reasoning for the revert: At the point mkdir -p "$GIT_HOOKS_DIR" we did already several operations on ${HOOK}. So ensuring the directory exists seems likely to be done earlier. What concrete case did lead to this change?
Diffstat (limited to 'bin')
-rwxr-xr-xbin/setup-repo1
1 files changed, 0 insertions, 1 deletions
diff --git a/bin/setup-repo b/bin/setup-repo
index 7c36c1bbd1..1651534e14 100755
--- a/bin/setup-repo
+++ b/bin/setup-repo
@@ -30,7 +30,6 @@ install_pre_commit_hook() {
fi
echo "Installing pre-commit hook"
- mkdir -p "$GIT_HOOKS_DIR"
ln -s "${SRC}" "${HOOK}"
}

© 2014-2024 Faster IT GmbH | imprint | privacy policy