|
diff --git a/shared.c b/shared.c index 783604b..911a55a 100644 --- a/ shared.c+++ b/ shared.c |
|
@@ -53,24 +53,25 @@ struct cgit_repo *cgit_add_repo(const char *url) |
53 | ret->path = NULL; |
53 | ret->path = NULL; |
54 | ret->desc = "[no description]"; |
54 | ret->desc = "[no description]"; |
55 | ret->owner = NULL; |
55 | ret->owner = NULL; |
56 | ret->group = ctx.cfg.repo_group; |
56 | ret->group = ctx.cfg.repo_group; |
57 | ret->defbranch = "master"; |
57 | ret->defbranch = "master"; |
58 | ret->snapshots = ctx.cfg.snapshots; |
58 | ret->snapshots = ctx.cfg.snapshots; |
59 | ret->enable_log_filecount = ctx.cfg.enable_log_filecount; |
59 | ret->enable_log_filecount = ctx.cfg.enable_log_filecount; |
60 | ret->enable_log_linecount = ctx.cfg.enable_log_linecount; |
60 | ret->enable_log_linecount = ctx.cfg.enable_log_linecount; |
61 | ret->max_stats = ctx.cfg.max_stats; |
61 | ret->max_stats = ctx.cfg.max_stats; |
62 | ret->module_link = ctx.cfg.module_link; |
62 | ret->module_link = ctx.cfg.module_link; |
63 | ret->readme = NULL; |
63 | ret->readme = NULL; |
64 | ret->mtime = -1; |
64 | ret->mtime = -1; |
| |
65 | ret->about_filter = ctx.cfg.about_filter; |
65 | ret->commit_filter = ctx.cfg.commit_filter; |
66 | ret->commit_filter = ctx.cfg.commit_filter; |
66 | ret->source_filter = ctx.cfg.source_filter; |
67 | ret->source_filter = ctx.cfg.source_filter; |
67 | return ret; |
68 | return ret; |
68 | } |
69 | } |
69 | |
70 | |
70 | struct cgit_repo *cgit_get_repoinfo(const char *url) |
71 | struct cgit_repo *cgit_get_repoinfo(const char *url) |
71 | { |
72 | { |
72 | int i; |
73 | int i; |
73 | struct cgit_repo *repo; |
74 | struct cgit_repo *repo; |
74 | |
75 | |
75 | for (i=0; i<cgit_repolist.count; i++) { |
76 | for (i=0; i<cgit_repolist.count; i++) { |
76 | repo = &cgit_repolist.repos[i]; |
77 | repo = &cgit_repolist.repos[i]; |
|