diff options
author | Jason A. Donenfeld | 2013-04-10 14:42:49 +0200 |
---|---|---|
committer | Jason A. Donenfeld | 2013-04-10 14:49:31 +0200 |
commit | a8d613efdc827a400fee89fc73e34c2666e37be6 (patch) | |
tree | 25d3f8cb2e4f9785b4893ce125b422f55f5374af /cgitrc.5.txt | |
parent | 8c4c2c464b664228d4819af6ec1f8438af3c7c89 (diff) | |
download | cgit-a8d613efdc827a400fee89fc73e34c2666e37be6.tar.gz cgit-a8d613efdc827a400fee89fc73e34c2666e37be6.tar.bz2 cgit-a8d613efdc827a400fee89fc73e34c2666e37be6.zip |
cgitrc.5.txt: Specify when scan-path must be defined before.
Several options must be specified prior to scan-path. This is consistant
source of user confusion. Document these facts.
Suggested-by: Lukas Fleischer <cgit@cryptocrack.de>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'cgitrc.5.txt')
-rw-r--r-- | cgitrc.5.txt | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/cgitrc.5.txt b/cgitrc.5.txt index 39b031e..9b803b3 100644 --- a/cgitrc.5.txt +++ b/cgitrc.5.txt | |||
@@ -163,11 +163,12 @@ enable-tree-linenumbers:: | |||
163 | enable-git-config:: | 163 | enable-git-config:: |
164 | Flag which, when set to "1", will allow cgit to use git config to set | 164 | Flag which, when set to "1", will allow cgit to use git config to set |
165 | any repo specific settings. This option is used in conjunction with | 165 | any repo specific settings. This option is used in conjunction with |
166 | "scan-path" to augment repo-specific settings. The keys gitweb.owner, | 166 | "scan-path", and must be defined prior, to augment repo-specific |
167 | gitweb.category, and gitweb.description will map to the cgit keys | 167 | settings. The keys gitweb.owner, gitweb.category, and gitweb.description |
168 | repo.owner, repo.section, and repo.desc, respectivly. All git config | 168 | will map to the cgit keys repo.owner, repo.section, and repo.desc, |
169 | keys that begin with "cgit." will be mapped to the corresponding "repo." | 169 | respectivly. All git config keys that begin with "cgit." will be mapped |
170 | key in cgit. Default value: "0". See also: scan-path, section-from-path. | 170 | to the corresponding "repo." key in cgit. Default value: "0". See also: |
171 | scan-path, section-from-path. | ||
171 | 172 | ||
172 | favicon:: | 173 | favicon:: |
173 | Url used as link to a shortcut icon for cgit. If specified, it is | 174 | Url used as link to a shortcut icon for cgit. If specified, it is |
@@ -293,7 +294,8 @@ readme:: | |||
293 | remove-suffix:: | 294 | remove-suffix:: |
294 | If set to "1" and scan-path is enabled, if any repositories are found | 295 | If set to "1" and scan-path is enabled, if any repositories are found |
295 | with a suffix of ".git", this suffix will be removed for the url and | 296 | with a suffix of ".git", this suffix will be removed for the url and |
296 | name. Default value: "0". See also: scan-path. | 297 | name. This must be defined prior to scan-path. Default value: "0". |
298 | See also: scan-path. | ||
297 | 299 | ||
298 | renamelimit:: | 300 | renamelimit:: |
299 | Maximum number of files to consider when detecting renames. The value | 301 | Maximum number of files to consider when detecting renames. The value |
@@ -357,7 +359,7 @@ section-sort:: | |||
357 | case-sensitive-sort, repository-sort. | 359 | case-sensitive-sort, repository-sort. |
358 | 360 | ||
359 | section-from-path:: | 361 | section-from-path:: |
360 | A number which, if specified before scan-path, specifies how many | 362 | A number which, if defined prior to scan-path, specifies how many |
361 | path elements from each repo path to use as a default section name. | 363 | path elements from each repo path to use as a default section name. |
362 | If negative, cgit will discard the specified number of path elements | 364 | If negative, cgit will discard the specified number of path elements |
363 | above the repo directory. Default value: "0". | 365 | above the repo directory. Default value: "0". |
@@ -396,8 +398,8 @@ strict-export:: | |||
396 | Filename which, if specified, needs to be present within the repository | 398 | Filename which, if specified, needs to be present within the repository |
397 | for cgit to allow access to that repository. This can be used to emulate | 399 | for cgit to allow access to that repository. This can be used to emulate |
398 | gitweb's EXPORT_OK and STRICT_EXPORT functionality and limit cgit's | 400 | gitweb's EXPORT_OK and STRICT_EXPORT functionality and limit cgit's |
399 | repositories to match those exported by git-daemon. This option MUST come | 401 | repositories to match those exported by git-daemon. This option must |
400 | before 'scan-path'. | 402 | be defined prior to scan-path. |
401 | 403 | ||
402 | virtual-root:: | 404 | virtual-root:: |
403 | Url which, if specified, will be used as root for all cgit links. It | 405 | Url which, if specified, will be used as root for all cgit links. It |