diff options
Diffstat (limited to 'cgit.c')
-rw-r--r-- | cgit.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -79,6 +79,8 @@ static void repo_config(struct cgit_repo *repo, const char *name, const char *va | |||
79 | item->util = xstrdup(value); | 79 | item->util = xstrdup(value); |
80 | } else if (!strcmp(name, "section")) | 80 | } else if (!strcmp(name, "section")) |
81 | repo->section = xstrdup(value); | 81 | repo->section = xstrdup(value); |
82 | else if (!strcmp(name, "snapshot-prefix")) | ||
83 | repo->snapshot_prefix = xstrdup(value); | ||
82 | else if (!strcmp(name, "readme") && value != NULL) { | 84 | else if (!strcmp(name, "readme") && value != NULL) { |
83 | if (repo->readme.items == ctx.cfg.readme.items) | 85 | if (repo->readme.items == ctx.cfg.readme.items) |
84 | memset(&repo->readme, 0, sizeof(repo->readme)); | 86 | memset(&repo->readme, 0, sizeof(repo->readme)); |