diff options
author | Christian Hesse | 2018-07-16 16:27:39 +0200 |
---|---|---|
committer | Yigit Sever | 2023-07-21 03:03:51 +0300 |
commit | 319e4e08ecfdabecce1304b2c60acb09d9d2a736 (patch) | |
tree | aded0f7388ecb765914faf8d46678a2624a974bf /cgitrc.5.txt | |
parent | 1bb668962658b4e805f56eae0e2585ade645c116 (diff) | |
download | cgit-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.txt | 3 |
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 | ||
270 | max-repo-count:: | 270 | max-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 | ||
274 | max-repodesc-length:: | 275 | max-repodesc-length:: |
275 | Specifies the maximum number of repo description characters to display | 276 | Specifies the maximum number of repo description characters to display |