about summary refs log tree commit diff stats
path: root/cgit.c
diff options
context:
space:
mode:
Diffstat (limited to 'cgit.c')
-rw-r--r--cgit.c2
1 files changed, 2 insertions, 0 deletions
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
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));