aboutsummaryrefslogtreecommitdiffstats
path: root/shared.c
diff options
context:
space:
mode:
authorChris Burroughs <chris.burroughs@gmail.com>2014-08-04 09:23:08 -0400
committerJason A. Donenfeld <Jason@zx2c4.com>2014-12-23 19:08:20 -0700
commit96ceb9a95a7a321209cff347fefd141a9fffc7ca (patch)
tree5077ac54da1f7992d991746492855665454147c9 /shared.c
parentui-shared: add rel-vcs microformat links to HTML header (diff)
downloadcgit-96ceb9a95a7a321209cff347fefd141a9fffc7ca.tar.xz
cgit-96ceb9a95a7a321209cff347fefd141a9fffc7ca.zip
repolist: add owner-filter
This allows custom links to be used for repository owners by configuring a filter to be applied in the "Owner" column in the repository list.
Diffstat (limited to '')
-rw-r--r--shared.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared.c b/shared.c
index 8ed14c0..6e91857 100644
--- a/shared.c
+++ b/shared.c
@@ -72,6 +72,7 @@ struct cgit_repo *cgit_add_repo(const char *url)
ret->commit_filter = ctx.cfg.commit_filter;
ret->source_filter = ctx.cfg.source_filter;
ret->email_filter = ctx.cfg.email_filter;
+ ret->owner_filter = ctx.cfg.owner_filter;
ret->clone_url = ctx.cfg.clone_url;
ret->submodules.strdup_strings = 1;
return ret;