aboutsummaryrefslogtreecommitdiffstats
path: root/cgitrc.5.txt
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2018-07-16 16:27:39 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2022-12-19 16:22:26 +0100
commit91f25909b9572ebdf3a0fed8224bf03d0d9bf3db (patch)
tree2ad6fe7cd7d589ac6ca01a7a463ec0433b18bf86 /cgitrc.5.txt
parent852cb3b0e267dd2ddfd2eeef6275435098c606e7 (diff)
downloadcgit-91f25909b9572ebdf3a0fed8224bf03d0d9bf3db.tar.gz
cgit-91f25909b9572ebdf3a0fed8224bf03d0d9bf3db.tar.bz2
cgit-91f25909b9572ebdf3a0fed8224bf03d0d9bf3db.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::
max-repo-count::
Specifies the number of entries to list per page on the repository
- index page. Default value: "50".
+ index page. The value "0" shows all repositories without limitation.
+ Default value: "50".
max-repodesc-length::
Specifies the maximum number of repo description characters to display