mirror of
https://git.zx2c4.com/cgit
synced 2025-08-31 14:25:15 +00:00
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.
This commit is contained in:
committed by
Jason A. Donenfeld
parent
3c53ebfb57
commit
96ceb9a95a
1
shared.c
1
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;
|
||||
|
Reference in New Issue
Block a user