diff options
Diffstat (limited to '')
-rw-r--r-- | cgit.c | 2 | ||||
-rw-r--r-- | cgit.h | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -45,6 +45,8 @@ static void repo_config(struct cgit_repo *repo, const char *name, const char *va repo->homepage = xstrdup(value); else if (!strcmp(name, "defbranch")) repo->defbranch = xstrdup(value); + else if (!strcmp(name, "namespace")) + repo->namespace = xstrdup(value); else if (!strcmp(name, "snapshots")) repo->snapshots = ctx.cfg.snapshots & cgit_parse_snapshots_mask(value); else if (!strcmp(name, "enable-commit-graph")) @@ -87,6 +87,7 @@ struct cgit_repo { struct string_list readme; char *section; char *clone_url; + char *namespace; char *logo; char *logo_link; int snapshots; |