diff options
author | Linnea Gräf <nea@nea.moe> | 2024-09-19 15:23:28 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-09-19 15:28:18 +0200 |
commit | 0f11492868791513cbaae69c6476a00647f3fd47 (patch) | |
tree | bb1328076fd7d1091c1b63563cf76c8f7b936527 /cgitrc.5.txt | |
parent | 09d24d7cd0b7e85633f2f43808b12871bb209d69 (diff) | |
download | cgit-master.tar.gz cgit-master.tar.bz2 cgit-master.zip |
Hi everyone, it is me, ui snapshot prefix remover 3000 here today coming
at you with another git patch
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: |