about summary refs log tree commit diff stats
path: root/cgit.h
diff options
context:
space:
mode:
authorTobias Bieniek2012-10-09 20:53:29 +0200
committerJason A. Donenfeld2012-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.gz
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 {
226 int scan_hidden_path; 226 int scan_hidden_path;
227 int section_from_path; 227 int section_from_path;
228 int snapshots; 228 int snapshots;
229 int section_sort;
229 int summary_branches; 230 int summary_branches;
230 int summary_log; 231 int summary_log;
231 int summary_tags; 232 int summary_tags;