From 66b7d948bd4d752a045336f0bc3993ad354ad853 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 31 Oct 2026 13:20:12 -0700 Subject: Point each hook at the other hooks here The cache hook named only the age-file hook, from before the commit-graph hook came. --- custom/hooks/post-receive.cgit-age | 7 +++++-- custom/hooks/post-receive.cgit-cache | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'custom') 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 -- cgit