Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.zx2c4.com/cgit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@gmail.com>2016-07-02 17:23:30 +0300
committerRichard Maw <richard.maw@gmail.com>2016-07-13 22:09:37 +0300
commit2a20425f4e76e378c138094c79b78aa476c019b5 (patch)
tree68122159d70f82b80e3a7e8dd5ebe477c597db5d
parent63a5fe0a3d05c474167c2f6d5c995d4433eca660 (diff)
Add documentation for repo.agefilerm/namespace
Signed-off-by: Richard Maw <richard.maw@gmail.com>
-rw-r--r--cgitrc.5.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/cgitrc.5.txt b/cgitrc.5.txt
index 6116d1b..db22269 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
@@ -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
-------------------