diff options
context:
space:
mode:
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
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
Diffstat (limited to 'custom/hooks')
-rwxr-xr-xcustom/hooks/post-receive.cgit-age4
-rwxr-xr-xcustom/hooks/post-receive.cgit-cache2
2 files changed, 3 insertions, 3 deletions
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.