aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.h
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@gmail.com>2016-06-30 21:06:46 +0100
committerRichard Maw <richard.maw@gmail.com>2016-07-13 20:09:37 +0100
commitaa69de50d3c0ef30a2f97e95f0582445890d027b (patch)
tree5186b423fac6aa49cda890f148ce9d1992841abb /cgit.h
parentbb2391a96b2b120ba82d797fcfb4b21e045ace06 (diff)
Allow agefile to be set per-repository
This adds "repo.agefile", since namespaced repositories share the same files, and we'd like to be able to see the ages of the refs for each namespace. Whatever the git server uses for updating the age file must be namespace aware and must write the age file to a path consistent with "repo.agefile". Signed-off-by: Richard Maw <richard.maw@gmail.com>
Diffstat (limited to 'cgit.h')
-rw-r--r--cgit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index f0d25d6..b6994a3 100644
--- a/cgit.h
+++ b/cgit.h
@@ -88,6 +88,7 @@ struct cgit_repo {
char *section;
char *clone_url;
char *namespace;
+ char *agefile;
char *logo;
char *logo_link;
int snapshots;