[PATCH v3 21/21] Add documentation for repo.agefile
Richard Maw
richard.maw at gmail.com
Mon Aug 1 23:35:53 CEST 2016
Signed-off-by: Richard Maw <richard.maw at gmail.com>
---
cgitrc.5.txt | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/cgitrc.5.txt b/cgitrc.5.txt
index 0de14a4..644e0ef 100644
--- a/cgitrc.5.txt
+++ b/cgitrc.5.txt
@@ -468,6 +468,10 @@ repo.about-filter::
Override the default about-filter. Default value: none. See also:
"enable-filter-overrides". See also: "FILTER API".
+repo.agefile::
+ Override the default agefile. Default value: none. See also:
+ "agefile". See also: "NAMESPACES".
+
repo.branch-sort::
Flag which, when set to "age", enables date ordering in the branch ref
list, and when set to "name" enables ordering by branch name. Default
@@ -804,6 +808,16 @@ The config setting for this repository would be:
repo.namespace = foo/bar
....
+It's also recommended to set a different age file for the namespace.
+The cgit repository contains a contrib script for generating age-files
+for namespaces in a subdirectory.
+
+The corresponding config for the "foo/bar" namespace would be:
+
+....
+repo.agefile = info/web/namespaces/foo/bar/last-modified
+....
+
EXAMPLE CGITRC FILE
-------------------
--
2.9.0
More information about the CGit
mailing list