From 733a517036bc5ad3327b41f494b0d09cd2470262 Mon Sep 17 00:00:00 2001 From: gennyble Date: Sat, 16 Dec 2023 07:43:48 -0600 Subject: allow ordering sections with scan-path --- cgit.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cgit.h') diff --git a/cgit.h b/cgit.h index 72fcd84..518cefe 100644 --- a/cgit.h +++ b/cgit.h @@ -212,6 +212,7 @@ struct cgit_config { char *root_readme; char *script_name; char *section; + struct string_list section_order; char *repository_sort; char *virtual_root; /* Always ends with '/'. */ char *strict_export; @@ -256,7 +257,7 @@ struct cgit_config { int scan_hidden_path; int section_from_path; int snapshots; - int section_sort; + char *section_sort; int summary_branches; int summary_log; int summary_tags; -- cgit 1.4.1-3-g733a5