diff options
author | Lukas Fleischer | 2015-01-29 12:52:49 +0100 |
---|---|---|
committer | Jason A. Donenfeld | 2015-01-29 16:41:14 +0100 |
commit | c58cec9dff273b44c428cfaee24e5e3743c0034e (patch) | |
tree | 7302ee9868fa94b9cf64a2a361294ad2e4bc360f /cgitrc.5.txt | |
parent | 1a2eeb94d42b983213076906eb5c5b85452b2c30 (diff) | |
download | cgit-c58cec9dff273b44c428cfaee24e5e3743c0034e.tar.gz cgit-c58cec9dff273b44c428cfaee24e5e3743c0034e.tar.bz2 cgit-c58cec9dff273b44c428cfaee24e5e3743c0034e.zip |
Add repo.hide and repo.ignore
These options can be used to hide a repository from the index or
completely ignore a repository, respectively. They are particularly
useful when used in combination with scan-path.
Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
Diffstat (limited to 'cgitrc.5.txt')
-rw-r--r-- | cgitrc.5.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cgitrc.5.txt b/cgitrc.5.txt index be6703f..e21ece9 100644 --- a/cgitrc.5.txt +++ b/cgitrc.5.txt | |||
@@ -509,6 +509,16 @@ repo.enable-subject-links:: | |||
509 | A flag which can be used to override the global setting | 509 | A flag which can be used to override the global setting |
510 | `enable-subject-links'. Default value: none. | 510 | `enable-subject-links'. Default value: none. |
511 | 511 | ||
512 | repo.hide:: | ||
513 | Flag which, when set to "1", hides the repository from the repository | ||
514 | index. The repository can still be accessed by providing a direct path. | ||
515 | Default value: "0". See also: "repo.ignore". | ||
516 | |||
517 | repo.ignore:: | ||
518 | Flag which, when set to "1", ignores the repository. The repository | ||
519 | is not shown in the index and cannot be accessed by providing a direct | ||
520 | path. Default value: "0". See also: "repo.hide". | ||
521 | |||
512 | repo.logo:: | 522 | repo.logo:: |
513 | Url which specifies the source of an image which will be used as a logo | 523 | Url which specifies the source of an image which will be used as a logo |
514 | on this repo's pages. Default value: global logo. | 524 | on this repo's pages. Default value: global logo. |