diff options
Diffstat (limited to 'cgitrc.5.txt')
-rw-r--r-- | cgitrc.5.txt | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/cgitrc.5.txt b/cgitrc.5.txt index 22a0dc3..a72241f 100644 --- a/cgitrc.5.txt +++ b/cgitrc.5.txt | |||
@@ -241,7 +241,7 @@ module-link:: | |||
241 | Text which will be used as the formatstring for a hyperlink when a | 241 | Text which will be used as the formatstring for a hyperlink when a |
242 | submodule is printed in a directory listing. The arguments for the | 242 | submodule is printed in a directory listing. The arguments for the |
243 | formatstring are the path and SHA1 of the submodule commit. Default | 243 | formatstring are the path and SHA1 of the submodule commit. Default |
244 | value: "./?repo=%s&page=commit&id=%s" | 244 | value: none. |
245 | 245 | ||
246 | nocache:: | 246 | nocache:: |
247 | If set to the value "1" caching will be disabled. This settings is | 247 | If set to the value "1" caching will be disabled. This settings is |
@@ -388,7 +388,8 @@ repo.commit-filter:: | |||
388 | repo.defbranch:: | 388 | repo.defbranch:: |
389 | The name of the default branch for this repository. If no such branch | 389 | The name of the default branch for this repository. If no such branch |
390 | exists in the repository, the first branch name (when sorted) is used | 390 | exists in the repository, the first branch name (when sorted) is used |
391 | as default instead. Default value: "master". | 391 | as default instead. Default value: branch pointed to by HEAD, or |
392 | "master" if there is no suitable HEAD. | ||
392 | 393 | ||
393 | repo.desc:: | 394 | repo.desc:: |
394 | The value to show as repository description. Default value: none. | 395 | The value to show as repository description. Default value: none. |
@@ -428,6 +429,12 @@ repo.module-link:: | |||
428 | formatstring are the path and SHA1 of the submodule commit. Default | 429 | formatstring are the path and SHA1 of the submodule commit. Default |
429 | value: <module-link> | 430 | value: <module-link> |
430 | 431 | ||
432 | repo.module-link.<path>:: | ||
433 | Text which will be used as the formatstring for a hyperlink when a | ||
434 | submodule with the specified subdirectory path is printed in a | ||
435 | directory listing. The only argument for the formatstring is the SHA1 | ||
436 | of the submodule commit. Default value: none. | ||
437 | |||
431 | repo.max-stats:: | 438 | repo.max-stats:: |
432 | Override the default maximum statistics period. Valid values are equal | 439 | Override the default maximum statistics period. Valid values are equal |
433 | to the values specified for the global "max-stats" setting. Default | 440 | to the values specified for the global "max-stats" setting. Default |
@@ -511,7 +518,7 @@ Also, all filters are handed the following environment variables: | |||
511 | 518 | ||
512 | If a setting is not defined for a repository and the corresponding global | 519 | If a setting is not defined for a repository and the corresponding global |
513 | setting is also not defined (if applicable), then the corresponding | 520 | setting is also not defined (if applicable), then the corresponding |
514 | environment variable will be an empty string. | 521 | environment variable will be unset. |
515 | 522 | ||
516 | 523 | ||
517 | MACRO EXPANSION | 524 | MACRO EXPANSION |