]> granicus.if.org Git - cgit/commitdiff
Add documentation for repo.agefile rm/namespace
authorRichard Maw <richard.maw@gmail.com>
Sat, 2 Jul 2016 14:23:30 +0000 (15:23 +0100)
committerRichard Maw <richard.maw@gmail.com>
Wed, 13 Jul 2016 19:09:37 +0000 (20:09 +0100)
Signed-off-by: Richard Maw <richard.maw@gmail.com>
cgitrc.5.txt

index 6116d1b644205bbecb35833857a70609e1efa637..db222693a1f9217cef1d6ef69368efd02706b394 100644 (file)
@@ -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
@@ -803,6 +807,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/namespaced/foo/bar/last-modified
+....
+
 
 EXAMPLE CGITRC FILE
 -------------------