]> gitweb.ps.run Git - ps-cgit/commit
ui-stats: replace 'enable-stats' setting with 'max-stats'
authorLars Hjemli <hjemli@gmail.com>
Sun, 7 Dec 2008 12:17:21 +0000 (13:17 +0100)
committerLars Hjemli <hjemli@gmail.com>
Sun, 7 Dec 2008 12:17:21 +0000 (13:17 +0100)
commitfb2f3f6c29bad733723152893c5246a756e4cada
tree5b2953c0c116f276ca48beee676a6662b6329d95
parentc6a6aa2186daf39814baa0e71378c2e9e1041002
ui-stats: replace 'enable-stats' setting with 'max-stats'

The new 'max-stats' and 'repo.max-stats' settings makes it possible to
define the maximum statistics period, both globally and per repo. Hence,
it is now feasible to allow statistics on repositories with a high commit
frequency, like linux-2.6, by setting repo.max-stats to e.g. 'month'.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
cgit.c
cgit.h
cgitrc.5.txt
cmd.c
shared.c
ui-shared.c
ui-stats.c
ui-stats.h