X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/03f6e34bb9d683723cfc4fe58ee5bb983b95e173..c712d5ac434b9ee8cb4e63a173a2538e1878637f:/cgit.c?ds=sidebyside diff --git a/cgit.c b/cgit.c index bd9cb3f..d2f7b9c 100644 --- a/cgit.c +++ b/cgit.c @@ -79,6 +79,8 @@ static void repo_config(struct cgit_repo *repo, const char *name, const char *va item->util = xstrdup(value); } else if (!strcmp(name, "section")) repo->section = xstrdup(value); + else if (!strcmp(name, "snapshot-prefix")) + repo->snapshot_prefix = xstrdup(value); else if (!strcmp(name, "readme") && value != NULL) { if (repo->readme.items == ctx.cfg.readme.items) memset(&repo->readme, 0, sizeof(repo->readme));