diff options
author | Chris Burroughs <chris.burroughs@gmail.com> | 2014-08-04 09:23:08 -0400 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-12-23 19:08:20 -0700 |
commit | 96ceb9a95a7a321209cff347fefd141a9fffc7ca (patch) | |
tree | 5077ac54da1f7992d991746492855665454147c9 /shared.c | |
parent | 3c53ebfb57a5dba8fc65b2f99ebbfb6356666e34 (diff) | |
download | cgit-96ceb9a95a7a321209cff347fefd141a9fffc7ca.tar.gz cgit-96ceb9a95a7a321209cff347fefd141a9fffc7ca.tar.bz2 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 'shared.c')
-rw-r--r-- | shared.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |