aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.h
diff options
context:
space:
mode:
authorGravatar Jason A. Donenfeld <Jason@zx2c4.com>2012-07-13 02:13:39 (JST)
committerGravatar Jason A. Donenfeld <Jason@zx2c4.com>2012-07-13 03:01:46 (JST)
commit184c5655b2e350dbd0dd8be75d3f370f22aa6dee (patch)
treebcd4fef53e416f443666ec50f21adef33fc95e76 /cgit.h
parentfc9181ff3d3ebbe0159871f6a49438e60bb17f58 (diff)
downloadcgit-184c5655b2e350dbd0dd8be75d3f370f22aa6dee.zip
cgit-184c5655b2e350dbd0dd8be75d3f370f22aa6dee.tar.gz
ui-repolist: Case insensitive sorting and age sort
Add two options, one for doing the ordinary name sorts in a case-insensitive manner, and another for choosing to sort repos in each section by age instead of by name.
Diffstat (limited to 'cgit.h')
-rw-r--r--cgit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index 91b4d72..79ba7ad 100644
--- a/cgit.h
+++ b/cgit.h
@@ -187,6 +187,7 @@ struct cgit_config {
187 char *root_readme; 187 char *root_readme;
188 char *script_name; 188 char *script_name;
189 char *section; 189 char *section;
190 char *section_sort;
190 char *virtual_root; 191 char *virtual_root;
191 char *strict_export; 192 char *strict_export;
192 int cache_size; 193 int cache_size;
@@ -196,6 +197,7 @@ struct cgit_config {
196 int cache_root_ttl; 197 int cache_root_ttl;
197 int cache_scanrc_ttl; 198 int cache_scanrc_ttl;
198 int cache_static_ttl; 199 int cache_static_ttl;
200 int case_sensitive_sort;
199 int embedded; 201 int embedded;
200 int enable_filter_overrides; 202 int enable_filter_overrides;
201 int enable_gitweb_owner; 203 int enable_gitweb_owner;