From 225131a823492b0ab676067bcdf67b44147a5717 Mon Sep 17 00:00:00 2001 From: "Kyle J. McKay" Date: Mon, 6 Apr 2015 17:01:06 -0700 Subject: [PATCH] t/projlist-cache/lastactivity: create TopGit-controlled branch --- .topdeps | 1 + .topmsg | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 .topdeps create mode 100644 .topmsg diff --git a/.topdeps b/.topdeps new file mode 100644 index 0000000000..d7025695e2 --- /dev/null +++ b/.topdeps @@ -0,0 +1 @@ +release diff --git a/.topmsg b/.topmsg new file mode 100644 index 0000000000..43287cb8b3 --- /dev/null +++ b/.topmsg @@ -0,0 +1,19 @@ +Subject: [PATCH] gitweb: support lastactivity file + +Provide a new gitweb configuration value for $lastactivity_file +which is the pathname relative to a $GIT_DIR for a file that if +it exists and is non-empty and contains a date in iso, iso-strict +or raw format will be read and used as the value returned by the +git_get_last_activity function. + +This is most useful if a hooks/post-update script is present which +contains something like this: + + git for-each-ref --sort=-committerdate --format='%(committerdate:iso8601)' \ + --count=1 refs/heads > info/lastactivity + +And then the gitweb_config.perl configuration contains this: + + our $lastactivity_file = "info/lastactivity"; + +Signed-off-by: Kyle J. McKay -- 2.11.4.GIT