-rw-r--r-- | cgit.c | 2 | ||||
-rw-r--r-- | cgitrc.5.txt | 3 |
2 files changed, 5 insertions, 0 deletions
@@ -171,2 +171,4 @@ void config_cb(const char *name, const char *value) | |||
171 | ctx.repo->module_link= xstrdup(value); | 171 | ctx.repo->module_link= xstrdup(value); |
172 | else if (ctx.repo && !strcmp(name, "repo.section")) | ||
173 | ctx.repo->section = xstrdup(value); | ||
172 | else if (ctx.repo && !strcmp(name, "repo.about-filter")) | 174 | else if (ctx.repo && !strcmp(name, "repo.about-filter")) |
diff --git a/cgitrc.5.txt b/cgitrc.5.txt index 4d009f9..e99c9f7 100644 --- a/cgitrc.5.txt +++ b/cgitrc.5.txt | |||
@@ -317,2 +317,5 @@ repo.snapshots:: | |||
317 | 317 | ||
318 | repo.section:: | ||
319 | Override the current section for this repository. Default value: none. | ||
320 | |||
318 | repo.source-filter:: | 321 | repo.source-filter:: |