aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.h
diff options
context:
space:
mode:
authorTobias Bieniek <Tobias.Bieniek@gmx.de>2012-10-09 20:53:29 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2012-10-17 16:30:22 +0200
commit7a4e7c8ffbacfad5ac83ad20426d7911c2eacdeb (patch)
treeb6c00afc3ce98770e645f01cfc0a0ee8384fe0ec /cgit.h
parentscan-tree: Unify gitweb.* and cgit.* settings into one config option. (diff)
downloadcgit-7a4e7c8ffbacfad5ac83ad20426d7911c2eacdeb.tar.xz
cgit-7a4e7c8ffbacfad5ac83ad20426d7911c2eacdeb.zip
ui-repolist: Add "section-sort" flag to control section sorting.
Flag which, when set to "1", will sort the sections on the repository listing by name. Set this flag to "0" if the order in the cgitrc file should be preserved. Default value: "1". Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'cgit.h')
-rw-r--r--cgit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index 2742058..becf776 100644
--- a/cgit.h
+++ b/cgit.h
@@ -226,6 +226,7 @@ struct cgit_config {
int scan_hidden_path;
int section_from_path;
int snapshots;
+ int section_sort;
int summary_branches;
int summary_log;
int summary_tags;