scan-tree: Support gitweb.description.

Use gitweb.description instead of description file to determine
description, if option is enabled.
This commit is contained in:
Jason A. Donenfeld 2012-07-11 04:24:01 +02:00
parent 45555512ba
commit b56be4ba3a
4 changed files with 28 additions and 7 deletions

1
cgit.h
View file

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