diff options
-rw-r--r-- | docker/cgitrc | 3 | ||||
-rwxr-xr-x | local/triggers/push | 2 |
2 files changed, 4 insertions, 1 deletions
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 diff --git a/local/triggers/push b/local/triggers/push index 6aa587a..7a3cb56 100755 --- a/local/triggers/push +++ b/local/triggers/push @@ -14,3 +14,5 @@ if ! [ -f "$head" ]; then echo "WARNING: The default branch is $head, but no such branch exists" >&2 fi fi + +git log -1 --all --date-order --format=%ci >agefile |