aboutsummaryrefslogtreecommitdiff
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
-rw-r--r--cgit.c2
-rw-r--r--cgitrc.5.txt3
2 files changed, 0 insertions, 5 deletions
diff --git a/cgit.c b/cgit.c
index 7264b8e..013a0fe 100644
--- a/cgit.c
+++ b/cgit.c
@@ -169,8 +169,6 @@ void config_cb(const char *name, const char *value)
ctx.repo->max_stats = cgit_find_stats_period(value, NULL);
else if (ctx.repo && !strcmp(name, "repo.module-link"))
ctx.repo->module_link= xstrdup(value);
- else if (ctx.repo && !strcmp(name, "repo.section"))
- ctx.repo->section = xstrdup(value);
else if (ctx.repo && !strcmp(name, "repo.about-filter"))
ctx.repo->about_filter = new_filter(value, 0);
else if (ctx.repo && !strcmp(name, "repo.commit-filter"))
diff --git a/cgitrc.5.txt b/cgitrc.5.txt
index e99c9f7..4d009f9 100644
--- a/cgitrc.5.txt
+++ b/cgitrc.5.txt
@@ -315,9 +315,6 @@ repo.snapshots::
A mask of allowed snapshot-formats for this repo, restricted by the
"snapshots" global setting. Default value: <snapshots>.
-repo.section::
- Override the current section for this repository. Default value: none.
-
repo.source-filter::
Override the default source-filter. Default value: <source-filter>.