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

View File

@ -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.