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.
这个提交包含在:
Chris Burroughs
2014-08-04 09:23:08 -04:00
提交者 Jason A. Donenfeld
父节点 3c53ebfb57
当前提交 96ceb9a95a
共有 7 个文件被更改,包括 64 次插入8 次删除

查看文件

@@ -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;