aboutsummaryrefslogtreecommitdiffstats
path: root/cgitrc.5.txt
diff options
context:
space:
mode:
authorChristian Hesse2018-07-16 16:27:39 +0200
committerYigit Sever2023-07-21 03:03:51 +0300
commit319e4e08ecfdabecce1304b2c60acb09d9d2a736 (patch)
treeaded0f7388ecb765914faf8d46678a2624a974bf /cgitrc.5.txt
parent1bb668962658b4e805f56eae0e2585ade645c116 (diff)
downloadcgit-319e4e08ecfdabecce1304b2c60acb09d9d2a736.tar.gz
cgit-319e4e08ecfdabecce1304b2c60acb09d9d2a736.tar.bz2
cgit-319e4e08ecfdabecce1304b2c60acb09d9d2a736.zip
cgitrc: handle value "0" for max-repo-count
Setting max-repo-count to "0" makes cgit loop forever generating page links. Make this a special value to show all repositories. Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'cgitrc.5.txt')
-rw-r--r--cgitrc.5.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/cgitrc.5.txt b/cgitrc.5.txt
index d9eb3b0..463d90c 100644
--- a/cgitrc.5.txt
+++ b/cgitrc.5.txt
@@ -269,7 +269,8 @@ max-message-length::
269 269
270max-repo-count:: 270max-repo-count::
271 Specifies the number of entries to list per page on the repository 271 Specifies the number of entries to list per page on the repository
272 index page. Default value: "50". 272 index page. The value "0" shows all repositories without limitation.
273 Default value: "50".
273 274
274max-repodesc-length:: 275max-repodesc-length::
275 Specifies the maximum number of repo description characters to display 276 Specifies the maximum number of repo description characters to display