Diff options
Diffstat (limited to '')
-rwxr-xr-xcustom/hooks/post-receive.cgit-age7
-rwxr-xr-xcustom/hooks/post-receive.cgit-cache2
2 files changed, 6 insertions, 3 deletions
diff --git a/custom/hooks/post-receive.cgit-age b/custom/hooks/post-receive.cgit-age
index c2c4092..e759537 100755
--- a/custom/hooks/post-receive.cgit-age
+++ b/custom/hooks/post-receive.cgit-age
@@ -4,8 +4,11 @@
# default age-file, so a cgitrc that changes the setting needs the same change
# here. A file the pusher cannot write stays as it was, and nothing here
# complains or exits nonzero, so the pusher is not shown an error over a stale
-# idle column. To install the hook, copy or link it to hooks/post-receive in
-# each repository.
+# idle column.
+#
+# To install the hook, copy or link it to hooks/post-receive in each
+# repository. Git runs one post-receive per repository, so fold this together
+# with the other hooks here to have more than one.
set -eu
diff --git a/custom/hooks/post-receive.cgit-cache b/custom/hooks/post-receive.cgit-cache
index f1a4b40..5f908cc 100755
--- a/custom/hooks/post-receive.cgit-cache
+++ b/custom/hooks/post-receive.cgit-cache
@@ -24,7 +24,7 @@
#
# To install the hook, copy or link it to hooks/post-receive in each
# repository. Git runs one post-receive per repository, so fold this together
-# with the age-file hook to have both.
+# with the other hooks here to have more than one.
set -eu