diff options
author | Chris Burroughs | 2014-08-04 09:23:08 -0400 |
---|---|---|
committer | Jason A. Donenfeld | 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) | |||
72 | ret->commit_filter = ctx.cfg.commit_filter; | 72 | ret->commit_filter = ctx.cfg.commit_filter; |
73 | ret->source_filter = ctx.cfg.source_filter; | 73 | ret->source_filter = ctx.cfg.source_filter; |
74 | ret->email_filter = ctx.cfg.email_filter; | 74 | ret->email_filter = ctx.cfg.email_filter; |
75 | ret->owner_filter = ctx.cfg.owner_filter; | ||
75 | ret->clone_url = ctx.cfg.clone_url; | 76 | ret->clone_url = ctx.cfg.clone_url; |
76 | ret->submodules.strdup_strings = 1; | 77 | ret->submodules.strdup_strings = 1; |
77 | return ret; | 78 | return ret; |