gitweb: Sort the list of forks on the summary page by age
commitccbb70e18c57e1655b6d5775f553e346e25b0ee9
authorPetr Baudis <pasky@suse.cz>
Fri, 3 Oct 2008 15:19:15 +0000 (3 17:19 +0200)
committerPetr Baudis <pasky@suse.cz>
Fri, 3 Oct 2008 15:19:15 +0000 (3 17:19 +0200)
tree3a5f57512575e3254e66e3b23f107f65501ffba7
parentae046cf7dba29e62c9aa37407474b4542dd89115
gitweb: Sort the list of forks on the summary page by age

The list of forks on the summary page was unsorted, this just makes
them sorted by age, which seems a fair way to decide which forks are
shown before the list size cut-off (15) kicks in.

s/noheader/no_header was just to make it obvious what the parameter
affects, so all the code can be found with one grep.

pb: As suggested by Mike, I have augmented this by an additional patch
that refactors the sorting logic so that it is not tied to printing
the headers.

Signed-off-by: Mike Ralphson <mike@abacus.co.uk>
Signed-off-by: Petr Baudis <pasky@suse.cz>
gitweb/gitweb.perl