aboutsummaryrefslogtreecommitdiffstats
path: root/cgitrc.5.txt
diff options
context:
space:
mode:
Diffstat (limited to 'cgitrc.5.txt')
-rw-r--r--cgitrc.5.txt40
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
94enable-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
94enable-filter-overrides:: 99enable-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
282scan-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
277scan-path:: 290scan-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
285section:: 299section::
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::
300snapshots:: 314snapshots::
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
305source-filter:: 320source-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::
359repo.desc:: 374repo.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
377repo.enable-commit-graph::
378 A flag which can be used to disable the global setting
379 `enable-commit-graph'. Default value: none.
380
362repo.enable-log-filecount:: 381repo.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
397repo.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
401repo.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
378repo.max-stats:: 406repo.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
446enable-index-links=1 474enable-index-links=1
447 475
448 476
477# Enable ASCII art commit history graph on the log pages
478enable-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
450enable-log-filecount=1 482enable-log-filecount=1
451 483