-rw-r--r-- | cgitrc.5.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cgitrc.5.txt b/cgitrc.5.txt index 5d77973..c643fae 100644 --- a/cgitrc.5.txt +++ b/cgitrc.5.txt | |||
@@ -350,49 +350,51 @@ repo.enable-remote-branches:: | |||
350 | in the summary and refs views. Default value: <enable-remote-branches>. | 350 | in the summary and refs views. Default value: <enable-remote-branches>. |
351 | 351 | ||
352 | repo.enable-subject-links:: | 352 | repo.enable-subject-links:: |
353 | A flag which can be used to override the global setting | 353 | A flag which can be used to override the global setting |
354 | `enable-subject-links'. Default value: none. | 354 | `enable-subject-links'. Default value: none. |
355 | 355 | ||
356 | repo.max-stats:: | 356 | repo.max-stats:: |
357 | Override the default maximum statistics period. Valid values are equal | 357 | Override the default maximum statistics period. Valid values are equal |
358 | to the values specified for the global "max-stats" setting. Default | 358 | to the values specified for the global "max-stats" setting. Default |
359 | value: none. | 359 | value: none. |
360 | 360 | ||
361 | repo.name:: | 361 | repo.name:: |
362 | The value to show as repository name. Default value: <repo.url>. | 362 | The value to show as repository name. Default value: <repo.url>. |
363 | 363 | ||
364 | repo.owner:: | 364 | repo.owner:: |
365 | A value used to identify the owner of the repository. Default value: | 365 | A value used to identify the owner of the repository. Default value: |
366 | none. | 366 | none. |
367 | 367 | ||
368 | repo.path:: | 368 | repo.path:: |
369 | An absolute path to the repository directory. For non-bare repositories | 369 | An absolute path to the repository directory. For non-bare repositories |
370 | this is the .git-directory. Default value: none. | 370 | this is the .git-directory. Default value: none. |
371 | 371 | ||
372 | repo.readme:: | 372 | repo.readme:: |
373 | A path (relative to <repo.path>) which specifies a file to include | 373 | A path (relative to <repo.path>) which specifies a file to include |
374 | verbatim as the "About" page for this repo. Default value: none. | 374 | verbatim as the "About" page for this repo. You may also specify a |
375 | git refspec by head or by hash by prepending the refspec followed by | ||
376 | a colon. For example, "master:docs/readme.mkd" Default value: none. | ||
375 | 377 | ||
376 | repo.snapshots:: | 378 | repo.snapshots:: |
377 | A mask of allowed snapshot-formats for this repo, restricted by the | 379 | A mask of allowed snapshot-formats for this repo, restricted by the |
378 | "snapshots" global setting. Default value: <snapshots>. | 380 | "snapshots" global setting. Default value: <snapshots>. |
379 | 381 | ||
380 | repo.section:: | 382 | repo.section:: |
381 | Override the current section name for this repository. Default value: | 383 | Override the current section name for this repository. Default value: |
382 | none. | 384 | none. |
383 | 385 | ||
384 | repo.source-filter:: | 386 | repo.source-filter:: |
385 | Override the default source-filter. Default value: none. See also: | 387 | Override the default source-filter. Default value: none. See also: |
386 | "enable-filter-overrides". | 388 | "enable-filter-overrides". |
387 | 389 | ||
388 | repo.url:: | 390 | repo.url:: |
389 | The relative url used to access the repository. This must be the first | 391 | The relative url used to access the repository. This must be the first |
390 | setting specified for each repo. Default value: none. | 392 | setting specified for each repo. Default value: none. |
391 | 393 | ||
392 | 394 | ||
393 | REPOSITORY-SPECIFIC CGITRC FILE | 395 | REPOSITORY-SPECIFIC CGITRC FILE |
394 | ------------------------------- | 396 | ------------------------------- |
395 | When the option "scan-path" is used to auto-discover git repositories, cgit | 397 | When the option "scan-path" is used to auto-discover git repositories, cgit |
396 | will try to parse the file "cgitrc" within any found repository. Such a | 398 | will try to parse the file "cgitrc" within any found repository. Such a |
397 | repo-specific config file may contain any of the repo-specific options | 399 | repo-specific config file may contain any of the repo-specific options |
398 | described above, except "repo.url" and "repo.path". Additionally, the "filter" | 400 | described above, except "repo.url" and "repo.path". Additionally, the "filter" |