diff options
Diffstat (limited to 'cgitrc.5.txt')
-rw-r--r-- | cgitrc.5.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/cgitrc.5.txt b/cgitrc.5.txt index 6f3e952..c1c2126 100644 --- a/cgitrc.5.txt +++ b/cgitrc.5.txt @@ -421,6 +421,13 @@ snapshots:: with environment variables, for example set ZSTD_CLEVEL=10 in web server environment for higher (but slower) zstd compression. +enable-snapshot-prefix:: + If set to "1" adds a path prefix inside of generated snapshot archives. + The prefix defaults to the repository name or git ref name and can be + overridden with repo.snapshot-prefix. If set to "0", no such prefix will + be generated, unless this option is overridden with repo.snapshot-prefix. + Default value: "1". See also: snapshots, repo.snapshot-prefix. + source-filter:: Specifies a command which will be invoked to format plaintext blobs in the tree view. The command will get the blob content on its STDIN @@ -606,7 +613,7 @@ repo.snapshot-prefix:: For example, the "linux-stable" repository may wish to set this to "linux" so that snapshots are in the format "linux-3.15.4" instead of "linux-stable-3.15.4". Default value: <empty> meaning to use - the repository basename. + the repository basename. See also: enable-snapshot-prefix repo.source-filter:: Override the default source-filter. Default value: none. See also: |