scan-tree: Support gitweb.description.

Use gitweb.description instead of description file to determine
description, if option is enabled.
这个提交包含在:
Jason A. Donenfeld
2012-07-11 04:24:01 +02:00
父节点 45555512ba
当前提交 b56be4ba3a
共有 4 个文件被更改,包括 28 次插入7 次删除

查看文件

@@ -106,6 +106,13 @@ enable-filter-overrides::
Flag which, when set to "1", allows all filter settings to be
overridden in repository-specific cgitrc files. Default value: none.
enable-gitweb-desc::
If set to "1" and scan-path is enabled, we first check each repository
for the git config value "gitweb.description" to determine the owner.
Otherwise, the description is read from a file titled "description"
inside of the repository directory.
Default value: "1". See also: scan-path.
enable-gitweb-owner::
If set to "1" and scan-path is enabled, we first check each repository
for the git config value "gitweb.owner" to determine the owner.