summaryrefslogtreecommitdiff
path: root/abslibre/blacklist.git
diff options
context:
space:
mode:
authorParabola git <git@parabola.nu>2022-03-22 05:00:03 +0000
committerParabola git <git@parabola.nu>2022-03-22 05:00:03 +0000
commit6036ec84c537c5585408baad9f29b232eef4c687 (patch)
tree0fefd929da83d0c251dcecdb2b3738db6e73e0c6 /abslibre/blacklist.git
parent02fd6978bfe1afa5bd931447753eccf2055dc632 (diff)
Update from cron
Diffstat (limited to 'abslibre/blacklist.git')
-rw-r--r--abslibre/blacklist.git/hooks/pre-receive3
1 files changed, 3 insertions, 0 deletions
diff --git a/abslibre/blacklist.git/hooks/pre-receive b/abslibre/blacklist.git/hooks/pre-receive
index c0a2625..f471242 100644
--- a/abslibre/blacklist.git/hooks/pre-receive
+++ b/abslibre/blacklist.git/hooks/pre-receive
@@ -1,5 +1,8 @@
#!/bin/bash
+# this script validates the blacklist files, rehecting the push otherwise
+# TODO: WIP - currently disabled (hook file is not executable)
+
# refs data via STDIN - one line per target ref (where ref_data is: prev_sha curr_sha ref_file)
# e.g.
# a559985626bbf4448ccf9041857449078db6d731 1d5002ade3f71200274f1ba39e35a732d86220b5 refs/heads/master