mirror of
https://git.zx2c4.com/cgit
synced 2025-08-02 09:05:01 +02: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:
parent
3c53ebfb57
commit
96ceb9a95a
7 changed files with 64 additions and 8 deletions
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue