about summary refs log tree commit diff
path: root/cgit.h
diff options
context:
space:
mode:
authorgennyble <gen@nyble.dev>2023-12-16 07:43:48 -0600
committergennyble <gen@nyble.dev>2023-12-16 07:43:48 -0600
commit733a517036bc5ad3327b41f494b0d09cd2470262 (patch)
tree4581a25c2fd60c7e5ef075c6aad788fd1575bfbe /cgit.h
parentfad097a08e55c9eec0fa86efec72de4426674ca2 (diff)
downloadcgit-pink-733a517036bc5ad3327b41f494b0d09cd2470262.tar.gz
cgit-pink-733a517036bc5ad3327b41f494b0d09cd2470262.zip
allow ordering sections with scan-path HEAD master
Diffstat (limited to 'cgit.h')
-rw-r--r--cgit.h3
1 files changed, 2 insertions, 1 deletions
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;