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>
This commit is contained in:
Tobias Bieniek
2012-10-09 20:53:29 +02:00
committed by Jason A. Donenfeld
parent 521e10c884
commit 7a4e7c8ffb
4 changed files with 13 additions and 3 deletions

1
cgit.h
View File

@ -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;