diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-07-13 02:13:39 (JST) |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-07-13 03:01:46 (JST) |
commit | 184c5655b2e350dbd0dd8be75d3f370f22aa6dee (patch) | |
tree | bcd4fef53e416f443666ec50f21adef33fc95e76 /cgitrc.5.txt | |
parent | fc9181ff3d3ebbe0159871f6a49438e60bb17f58 (diff) | |
download | cgit-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 'cgitrc.5.txt')
-rw-r--r-- | cgitrc.5.txt | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/cgitrc.5.txt b/cgitrc.5.txt index d1a90c5..902fff3 100644 --- a/cgitrc.5.txt +++ b/cgitrc.5.txt | |||
@@ -70,6 +70,10 @@ cache-static-ttl:: | |||
70 | version of repository pages accessed with a fixed SHA1. Default value: | 70 | version of repository pages accessed with a fixed SHA1. Default value: |
71 | "5". | 71 | "5". |
72 | 72 | ||
73 | case-sensitive-sort:: | ||
74 | Sort items in the repo list case sensitively. Default value: "1". | ||
75 | See also: section-sort. | ||
76 | |||
73 | clone-prefix:: | 77 | clone-prefix:: |
74 | Space-separated list of common prefixes which, when combined with a | 78 | Space-separated list of common prefixes which, when combined with a |
75 | repository url, generates valid clone urls for the repository. This | 79 | repository url, generates valid clone urls for the repository. This |
@@ -333,11 +337,17 @@ section:: | |||
333 | after this option will inherit the current section name. Default value: | 337 | after this option will inherit the current section name. Default value: |
334 | none. | 338 | none. |
335 | 339 | ||
340 | section-sort:: | ||
341 | The way in which repositories in each section are sorted. Valid values | ||
342 | are "name" for sorting by the repo name or "age" for sorting by the | ||
343 | most recently updated repository. Default value: "name". See also: | ||
344 | section, case-sensitive-sort. | ||
345 | |||
336 | section-from-path:: | 346 | section-from-path:: |
337 | A number which, if specified before scan-path, specifies how many | 347 | A number which, if specified before scan-path, specifies how many |
338 | path elements from each repo path to use as a default section name. | 348 | path elements from each repo path to use as a default section name. |
339 | If negative, cgit will discard the specified number of path elements | 349 | If negative, cgit will discard the specified number of path elements |
340 | above the repo directory. Default value: 0. | 350 | above the repo directory. Default value: "0". |
341 | 351 | ||
342 | side-by-side-diffs:: | 352 | side-by-side-diffs:: |
343 | If set to "1" shows side-by-side diffs instead of unidiffs per | 353 | If set to "1" shows side-by-side diffs instead of unidiffs per |