Add documentation for repo.agefile

Signed-off-by: Richard Maw <richard.maw@gmail.com>
rm/namespace
Richard Maw 8 years ago
parent 63a5fe0a3d
commit 2a20425f4e

@ -468,6 +468,10 @@ repo.about-filter::
Override the default about-filter. Default value: none. See also: Override the default about-filter. Default value: none. See also:
"enable-filter-overrides". See also: "FILTER API". "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:: repo.branch-sort::
Flag which, when set to "age", enables date ordering in the branch ref 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 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 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 EXAMPLE CGITRC FILE
------------------- -------------------

Loading…
Cancel
Save