[prev in list] [next in list] [prev in thread] [next in thread]
List: cgit
Subject: [PATCH 16/16] Add documentation for repo.agefile
From: Richard Maw <richard.maw () gmail ! com>
Date: 2016-07-15 23:00:02
Message-ID: 20160715230002.29547-17-richard.maw () gmail ! com
[Download RAW message or body]
Signed-off-by: Richard Maw <richard.maw@gmail.com>
---
cgitrc.5.txt | 14 ++++++++++++++
1 file changed, 14 insertions(+)
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
-------------------
--
2.9.0
_______________________________________________
CGit mailing list
CGit@lists.zx2c4.com
http://lists.zx2c4.com/mailman/listinfo/cgit
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic