diff options
author | Tobias Bieniek <Tobias.Bieniek@gmx.de> | 2012-10-09 20:53:29 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-10-17 16:30:22 +0200 |
commit | 7a4e7c8ffbacfad5ac83ad20426d7911c2eacdeb (patch) | |
tree | b6c00afc3ce98770e645f01cfc0a0ee8384fe0ec /cgit.h | |
parent | 521e10c884055c800078e6dada97ccf6c5193aad (diff) | |
download | cgit-7a4e7c8ffbacfad5ac83ad20426d7911c2eacdeb.tar.gz cgit-7a4e7c8ffbacfad5ac83ad20426d7911c2eacdeb.tar.xz |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |