From 319e4e08ecfdabecce1304b2c60acb09d9d2a736 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 16 Jul 2018 16:27:39 +0200 Subject: 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 --- cgitrc.5.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cgitrc.5.txt') 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 -- cgit v1.2.3-70-g09d2