Unidiff1 files changed, 2 insertions, 0 deletions
|
diff --git a/shared.c b/shared.c index 288cfa2..783604b 100644 --- a/ shared.c+++ b/ shared.c |
|
@@ -57,16 +57,18 @@ 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->commit_filter = ctx.cfg.commit_filter; |
| |
66 | ret->source_filter = ctx.cfg.source_filter; |
65 | return ret; |
67 | return ret; |
66 | } |
68 | } |
67 | |
69 | |
68 | struct cgit_repo *cgit_get_repoinfo(const char *url) |
70 | struct cgit_repo *cgit_get_repoinfo(const char *url) |
69 | { |
71 | { |
70 | int i; |
72 | int i; |
71 | struct cgit_repo *repo; |
73 | struct cgit_repo *repo; |
72 | |
74 | |
|