t/projlist-cache/lastactivity: create TopGit-controlled branch
[git/gitweb.git] / .topmsg
blob43287cb8b3e3fcaed54734f6a31c1019ca7b2e16
1 Subject: [PATCH] gitweb: support lastactivity file
3 Provide a new gitweb configuration value for $lastactivity_file
4 which is the pathname relative to a $GIT_DIR for a file that if
5 it exists and is non-empty and contains a date in iso, iso-strict
6 or raw format will be read and used as the value returned by the
7 git_get_last_activity function.
9 This is most useful if a hooks/post-update script is present which
10 contains something like this:
12   git for-each-ref --sort=-committerdate --format='%(committerdate:iso8601)' \
13                    --count=1 refs/heads > info/lastactivity
15 And then the gitweb_config.perl configuration contains this:
17   our $lastactivity_file = "info/lastactivity";
19 Signed-off-by: Kyle J. McKay <mackyle@gmail.com>