Unidiff1 files changed, 1 insertions, 0 deletions
|
diff --git a/shared.c b/shared.c index 783604b..911a55a 100644 --- a/ shared.c+++ b/ shared.c |
|
@@ -57,16 +57,17 @@ struct cgit_repo *cgit_add_repo(const char *url) |
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; |
|