aboutsummaryrefslogtreecommitdiff
path: root/cgitrc.5.txt
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-09-19 15:23:28 +0200
committerLinnea Gräf <nea@nea.moe>2024-09-19 15:28:18 +0200
commit0f11492868791513cbaae69c6476a00647f3fd47 (patch)
treebb1328076fd7d1091c1b63563cf76c8f7b936527 /cgitrc.5.txt
parent09d24d7cd0b7e85633f2f43808b12871bb209d69 (diff)
downloadcgit-master.tar.gz
cgit-master.tar.bz2
cgit-master.zip
ui-snapshot: add option to disable prefixHEADmaster
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.txt9
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: