]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.c
Merge branch 'lh/section-from-path'
[ps-cgit] / cgit.c
diff --git a/cgit.c b/cgit.c
index 04cef23d0d0f27b4a7c9fa663bb9c7e425e23ebf..e1d2216ffb3ae32b3a343cb677647fb716c01a40 100644 (file)
--- a/cgit.c
+++ b/cgit.c
@@ -193,6 +193,8 @@ void config_cb(const char *name, const char *value)
                                      ctx.cfg.project_list, repo_config);
                else
                        scan_tree(expand_macros(value), repo_config);
+       else if (!strcmp(name, "section-from-path"))
+               ctx.cfg.section_from_path = atoi(value);
        else if (!strcmp(name, "source-filter"))
                ctx.cfg.source_filter = new_filter(value, 1);
        else if (!strcmp(name, "summary-log"))