From 536c7a1eb201b44b9266babe087cb6f2b75e4a7f Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Sun, 19 Sep 2010 16:46:17 +0000 Subject: Merge branch 'lh/section-from-path' Conflicts: scan-tree.c --- (limited to 'cgit.c') diff --git a/cgit.c b/cgit.c index 04cef23..e1d2216 100644 --- 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")) -- cgit v0.9.0.2