scan-tree: Support gitweb.category.

Use gitweb.category from git config to determine repo's section, if
option is enabled.
This commit is contained in:
Jason A. Donenfeld 2012-07-11 05:32:45 +02:00
parent b56be4ba3a
commit fc9181ff3d
4 changed files with 14 additions and 0 deletions

1
cgit.h
View file

@ -200,6 +200,7 @@ struct cgit_config {
int enable_filter_overrides;
int enable_gitweb_owner;
int enable_gitweb_desc;
int enable_gitweb_section;
int enable_http_clone;
int enable_index_links;
int enable_commit_graph;