From 3c0ba132c822320f7a7812d4408879b0feb1589e Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 5 Sep 2026 21:31:55 -1000 Subject: Rename the inconsistent config keys The old spellings are no longer read. enable-header and enable-plain-email take the opposite value of the noheader and noplainemail they replace. --- 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 2.12.1