summaryrefslogtreecommitdiff
path: root/tidy-hooks
diff options
context:
space:
mode:
authorParabola git <git@parabola.nu>2016-07-08 00:55:19 +0000
committerParabola git <git@parabola.nu>2016-07-08 00:55:19 +0000
commit3eb16d93bf95b2a7d40fb1607622cab1e2f4b81e (patch)
tree6b971400f294f1b5b5bfd34ef93924715bdd7c75 /tidy-hooks
parent4fe7bac236d7c1895271bf15bdb9dda1253ec230 (diff)
redo hooks infrastructure (yay git 2.9 core.hooksPath)
Diffstat (limited to 'tidy-hooks')
-rwxr-xr-xtidy-hooks14
1 files changed, 0 insertions, 14 deletions
diff --git a/tidy-hooks b/tidy-hooks
deleted file mode 100755
index 4b195f5..0000000
--- a/tidy-hooks
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/bash
-set -e
-
-cd
-
-IFS=''
-find . -not -path '*/.*' -path '*.git' -type d |
-while read -r git_dir; do
- mkdir -p -- "${git_dir}/hooks"
- find "${git_dir}/hooks" \( -name '*.sample' -o -type l \) -delete
- if ! [[ -f "${git_dir}/hooks/post-receive" ]]; then
- ln -srv git-hooks/post-receive.agefile "${git_dir}/hooks/post-receive"
- fi
-done