[PATCH 1/3] Added "sort-sections" flag for the repository listing
Tobias.Bieniek at gmx.de
Tue Oct 9 23:54:29 CEST 2012
2012/10/9 Jason A. Donenfeld <Jason at zx2c4.com>:
>> Subject: [PATCH] Added "sort-sections" flag for the repository listing
>> 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".
> This functionality already exists, via the section-sort option, merged
> with master in July:
Not quite. This patch deals with the sorting of the sections, not the
content of the sections!
Normally cgit would order the existing sections like this:
Individual developer repositories, Mirrors of related projects,
but we wanted it like this:
Official repositories, Individual developer repositories, Mirrors of
so the solution is to set sort-sections to 0 and define the order
manually in the cgitrc file.
More information about the CGit