From 7ac25bc55405b51dd89f38ffa340619f5986090b Mon Sep 17 00:00:00 2001 From: Malfurious Date: Thu, 18 Aug 2022 17:43:05 -0400 Subject: cgit: Show proper idle times on the index page By default, the idle times shown by cgit only reflect the most recent push to the master branch - and that is the time of the push, not of the actual commit. This patch causes the age/timestamp to be set by pushes to any branch. The times will reflect the age of the youngest commit on any branch or tag. Signed-off-by: Malfurious --- docker/cgitrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docker') diff --git a/docker/cgitrc b/docker/cgitrc index f53e7a2..6df01d2 100644 --- a/docker/cgitrc +++ b/docker/cgitrc @@ -1,7 +1,7 @@ # cgit config # see cgitrc(5) for details # -# possible todos: agefile, header, footer +# possible todos: header, footer css=/cgit.css logo=/cgit.png @@ -25,6 +25,7 @@ enable-tree-linenumbers=1 section-sort=1 repository-sort=age branch-sort=age +agefile=agefile max-repo-count=512 max-stats=year -- cgit v1.2.3