X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/3ec6b309505dc5f7ba14abe8861b02da34a9df0b..e95c70d4ea997d1217d5c81cb3b640f3fa025df1:/shared.c?ds=sidebyside diff --git a/shared.c b/shared.c index 4adeaa8..9c839a9 100644 --- a/shared.c +++ b/shared.c @@ -56,7 +56,6 @@ struct cgit_repo *cgit_add_repo(const char *url) ret->desc = "[no description]"; ret->owner = NULL; ret->section = ctx.cfg.section; - ret->defbranch = "master"; ret->snapshots = ctx.cfg.snapshots; ret->enable_commit_graph = ctx.cfg.enable_commit_graph; ret->enable_log_filecount = ctx.cfg.enable_log_filecount; @@ -70,6 +69,7 @@ struct cgit_repo *cgit_add_repo(const char *url) ret->about_filter = ctx.cfg.about_filter; ret->commit_filter = ctx.cfg.commit_filter; ret->source_filter = ctx.cfg.source_filter; + ret->clone_url = ctx.cfg.clone_url; return ret; }