From c8bb67d785bc3f07dfc7cbf3cc8f4b591b0bae5e Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Thu, 16 Jul 2026 09:23:41 -1000 Subject: Respect the cgitrc order of sections The default sorted the sections and the repositories within them by name, so the order written in the cgitrc file was ignored. --- source/cgit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/cgit.c') diff --git a/source/cgit.c b/source/cgit.c index 909e120..74e80a6 100644 --- a/source/cgit.c +++ b/source/cgit.c @@ -431,7 +431,7 @@ static void prepare_context(void) ctx.cfg.script_name = CGIT_SCRIPT_NAME; ctx.cfg.section = ""; ctx.cfg.repository_sort = "name"; - ctx.cfg.section_sort = 1; + ctx.cfg.section_sort = 0; ctx.cfg.summary_branches = 10; ctx.cfg.summary_log = 10; ctx.cfg.summary_tags = 10; -- cgit v2.8.0