diff options
Diffstat (limited to 'cgitrc.5.txt')
-rw-r--r-- | cgitrc.5.txt | 40 |
1 files changed, 36 insertions, 4 deletions
diff --git a/cgitrc.5.txt b/cgitrc.5.txt index b8c69b8..875d51f 100644 --- a/cgitrc.5.txt +++ b/cgitrc.5.txt | |||
@@ -90,7 +90,12 @@ embedded:: | |||
90 | Flag which, when set to "1", will make cgit generate a html fragment | 90 | Flag which, when set to "1", will make cgit generate a html fragment |
91 | suitable for embedding in other html pages. Default value: none. See | 91 | suitable for embedding in other html pages. Default value: none. See |
92 | also: "noheader". | 92 | also: "noheader". |
93 | 93 | ||
94 | enable-commit-graph:: | ||
95 | Flag which, when set to "1", will make cgit print an ASCII-art commit | ||
96 | history graph to the left of the commit messages in the repository | ||
97 | log page. Default value: "0". | ||
98 | |||
94 | enable-filter-overrides:: | 99 | enable-filter-overrides:: |
95 | Flag which, when set to "1", allows all filter settings to be | 100 | Flag which, when set to "1", allows all filter settings to be |
96 | overridden in repository-specific cgitrc files. Default value: none. | 101 | overridden in repository-specific cgitrc files. Default value: none. |
@@ -274,13 +279,22 @@ root-title:: | |||
274 | Text printed as heading on the repository index page. Default value: | 279 | Text printed as heading on the repository index page. Default value: |
275 | "Git Repository Browser". | 280 | "Git Repository Browser". |
276 | 281 | ||
282 | scan-hidden-path:: | ||
283 | If set to "1" and scan-path is enabled, scan-path will recurse into | ||
284 | directories whose name starts with a period ('.'). Otherwise, | ||
285 | scan-path will stay away from such directories (considered as | ||
286 | "hidden"). Note that this does not apply to the ".git" directory in | ||
287 | non-bare repos. This must be defined prior to scan-path. | ||
288 | Default value: 0. See also: scan-path. | ||
289 | |||
277 | scan-path:: | 290 | scan-path:: |
278 | A path which will be scanned for repositories. If caching is enabled, | 291 | A path which will be scanned for repositories. If caching is enabled, |
279 | the result will be cached as a cgitrc include-file in the cache | 292 | the result will be cached as a cgitrc include-file in the cache |
280 | directory. If project-list has been defined prior to scan-path, | 293 | directory. If project-list has been defined prior to scan-path, |
281 | scan-path loads only the directories listed in the file pointed to by | 294 | scan-path loads only the directories listed in the file pointed to by |
282 | project-list. Default value: none. See also: cache-scanrc-ttl, | 295 | project-list. Be advised that only the global settings taken |
283 | project-list. | 296 | before the scan-path directive will be applied to each repository. |
297 | Default value: none. See also: cache-scanrc-ttl, project-list. | ||
284 | 298 | ||
285 | section:: | 299 | section:: |
286 | The name of the current repository section - all repositories defined | 300 | The name of the current repository section - all repositories defined |
@@ -300,7 +314,8 @@ side-by-side-diffs:: | |||
300 | snapshots:: | 314 | snapshots:: |
301 | Text which specifies the default set of snapshot formats generated by | 315 | Text which specifies the default set of snapshot formats generated by |
302 | cgit. The value is a space-separated list of zero or more of the | 316 | cgit. The value is a space-separated list of zero or more of the |
303 | values "tar", "tar.gz", "tar.bz2" and "zip". Default value: none. | 317 | values "tar", "tar.gz", "tar.bz2", "tar.xz" and "zip". Default value: |
318 | none. | ||
304 | 319 | ||
305 | source-filter:: | 320 | source-filter:: |
306 | Specifies a command which will be invoked to format plaintext blobs | 321 | Specifies a command which will be invoked to format plaintext blobs |
@@ -359,6 +374,10 @@ repo.defbranch:: | |||
359 | repo.desc:: | 374 | repo.desc:: |
360 | The value to show as repository description. Default value: none. | 375 | The value to show as repository description. Default value: none. |
361 | 376 | ||
377 | repo.enable-commit-graph:: | ||
378 | A flag which can be used to disable the global setting | ||
379 | `enable-commit-graph'. Default value: none. | ||
380 | |||
362 | repo.enable-log-filecount:: | 381 | repo.enable-log-filecount:: |
363 | A flag which can be used to disable the global setting | 382 | A flag which can be used to disable the global setting |
364 | `enable-log-filecount'. Default value: none. | 383 | `enable-log-filecount'. Default value: none. |
@@ -375,6 +394,15 @@ repo.enable-subject-links:: | |||
375 | A flag which can be used to override the global setting | 394 | A flag which can be used to override the global setting |
376 | `enable-subject-links'. Default value: none. | 395 | `enable-subject-links'. Default value: none. |
377 | 396 | ||
397 | repo.logo:: | ||
398 | Url which specifies the source of an image which will be used as a logo | ||
399 | on this repo's pages. Default value: global logo. | ||
400 | |||
401 | repo.logo-link:: | ||
402 | Url loaded when clicking on the cgit logo image. If unspecified the | ||
403 | calculated url of the repository index page will be used. Default | ||
404 | value: global logo-link. | ||
405 | |||
378 | repo.max-stats:: | 406 | repo.max-stats:: |
379 | Override the default maximum statistics period. Valid values are equal | 407 | Override the default maximum statistics period. Valid values are equal |
380 | to the values specified for the global "max-stats" setting. Default | 408 | to the values specified for the global "max-stats" setting. Default |
@@ -446,6 +474,10 @@ css=/css/cgit.css | |||
446 | enable-index-links=1 | 474 | enable-index-links=1 |
447 | 475 | ||
448 | 476 | ||
477 | # Enable ASCII art commit history graph on the log pages | ||
478 | enable-commit-graph=1 | ||
479 | |||
480 | |||
449 | # Show number of affected files per commit on the log pages | 481 | # Show number of affected files per commit on the log pages |
450 | enable-log-filecount=1 | 482 | enable-log-filecount=1 |
451 | 483 | ||