]> gitweb.ps.run Git - ps-cgit/blobdiff - shared.c
Introduce 'section' as canonical spelling for 'repo.group'
[ps-cgit] / shared.c
index 4cb95739c197d28b9fa381ff192d09cba7f5c473..9475581b2c4a20d73b639223156b8a7afbd5b5ca 100644 (file)
--- a/shared.c
+++ b/shared.c
@@ -53,7 +53,7 @@ struct cgit_repo *cgit_add_repo(const char *url)
        ret->path = NULL;
        ret->desc = "[no description]";
        ret->owner = NULL;
-       ret->group = ctx.cfg.repo_group;
+       ret->section = ctx.cfg.section;
        ret->defbranch = "master";
        ret->snapshots = ctx.cfg.snapshots;
        ret->enable_log_filecount = ctx.cfg.enable_log_filecount;