From 06adc7f3dd094d61e623a7ee6e81c145fa682651 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sun, 6 Sep 2026 14:29:37 -1000 Subject: Rename the inconsistent config keys noplainemail enable-plain-email noheader enable-header cache-root-ttl cache-index-ttl cache-repo-ttl cache-summary-ttl cache-scanrc-ttl cache-scan-ttl agefile age-file renamelimit rename-limit extra-head-content head-content --- custom/hooks/post-receive.cgit-age | 4 ++-- custom/hooks/post-receive.cgit-cache | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'custom/hooks') diff --git a/custom/hooks/post-receive.cgit-age b/custom/hooks/post-receive.cgit-age index 80c67c2..b91f950 100755 --- a/custom/hooks/post-receive.cgit-age +++ b/custom/hooks/post-receive.cgit-age @@ -1,8 +1,8 @@ #!/bin/sh # -# Example hook that updates the "agefile" cgit reads for the idle column. +# Example hook that updates the "age-file" cgit reads for the idle column. # -# This hook assumes that you are using the default agefile location of +# This hook assumes that you are using the default age-file location of # "info/web/last-modified". If you change the value in your cgitrc then you # must also change it here. # diff --git a/custom/hooks/post-receive.cgit-cache b/custom/hooks/post-receive.cgit-cache index 484bac0..235de27 100755 --- a/custom/hooks/post-receive.cgit-cache +++ b/custom/hooks/post-receive.cgit-cache @@ -10,7 +10,7 @@ # way to expire one repository's pages on their own and this clears the lot. # cgit refills a slot the next time something asks for it. The cached # repository scan goes too, which is what makes a brand new repository appear -# without waiting out cache-scanrc-ttl. +# without waiting out cache-scan-ttl. # # This hook assumes the default cache-root of "/var/cache/cgit". If you # change the value in your cgitrc then you must also change it here. -- cgit v2.8.0