cgitrc.5.txt: Fix documentation of the snapshot mask

Mention that the snapshot setting only specifies the formats that links
are generated for and not the set of formats that are accessible via
HTTP.

Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2014-01-14 00:49:48 +01:00 committed by Jason A. Donenfeld
parent 3488d12405
commit 70546a3458

View File

@ -390,10 +390,10 @@ side-by-side-diffs::
default. Default value: "0". default. Default value: "0".
snapshots:: snapshots::
Text which specifies the default set of snapshot formats generated by Text which specifies the default set of snapshot formats that cgit
cgit. The value is a space-separated list of zero or more of the generates links for. The value is a space-separated list of zero or
values "tar", "tar.gz", "tar.bz2", "tar.xz" and "zip". Default value: more of the values "tar", "tar.gz", "tar.bz2", "tar.xz" and "zip".
none. Default value: none.
source-filter:: source-filter::
Specifies a command which will be invoked to format plaintext blobs Specifies a command which will be invoked to format plaintext blobs
@ -538,8 +538,9 @@ repo.readme::
file. Default value: <readme>. file. Default value: <readme>.
repo.snapshots:: repo.snapshots::
A mask of allowed snapshot-formats for this repo, restricted by the A mask of snapshot formats for this repo that cgit generates links for,
"snapshots" global setting. Default value: <snapshots>. restricted by the global "snapshots" setting. Default value:
<snapshots>.
repo.section:: repo.section::
Override the current section name for this repository. Default value: Override the current section name for this repository. Default value: