From 2767bfb2ea383196d0f5a787ed2a7c9ee11e73dc Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 17 Oct 2026 12:53:15 -1000 Subject: Read a negative ref count as no limit summary-branches, summary-tags and max-ref-count already listed every ref at 0, but a negative value reached qsort as a count and crashed the summary and refs pages, and emptied the branch switcher. --- custom/cgitrc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'custom') diff --git a/custom/cgitrc b/custom/cgitrc index 1e02f8f..f816f56 100644 --- a/custom/cgitrc +++ b/custom/cgitrc @@ -353,7 +353,8 @@ max-diff-files=200 max-diff-lines=1000 # Branches and tags listed per section on the refs page, and per page on the -# dedicated branch and tag pages. A value of 0 lists everything on one page. +# dedicated branch and tag pages. A value of 0 or less lists everything on one +# page. # Value is an integer. Default is 200. max-ref-count=200 @@ -365,11 +366,12 @@ rename-limit=-1 # is 10. summary-log=10 -# Number of branches shown in the summary page. Value is an integer. Default is -# 10. +# Number of branches shown in the summary page, where 0 or less shows them all. +# Value is an integer. Default is 10. summary-branches=10 -# Number of tags shown in the summary page. Value is an integer. Default is 10. +# Number of tags shown in the summary page, where 0 or less shows them all. +# Value is an integer. Default is 10. summary-tags=10 # Show side-by-side diffs instead of unidiffs by default. Values are 0 or 1. -- cgit