aboutsummaryrefslogtreecommitdiffstats
path: root/cgitrc.5.txt
diff options
context:
space:
mode:
authorChristian Hesse2020-02-26 09:12:21 +0100
committerJason A. Donenfeld2020-03-12 19:56:39 -0600
commit892ba8c3cc0617d2087a2337d8c6e71524d7b49c (patch)
tree9f230da21b5cb0443a3058da543da6b13c959f71 /cgitrc.5.txt
parentcc230bf04456cc0ca82c6251b1624425eb7a7153 (diff)
downloadcgit-892ba8c3cc0617d2087a2337d8c6e71524d7b49c.tar.gz
cgit-892ba8c3cc0617d2087a2337d8c6e71524d7b49c.tar.bz2
cgit-892ba8c3cc0617d2087a2337d8c6e71524d7b49c.zip
ui-snapshot: add support for zstd compression
This patch adds support for zstd [0] compressed snapshots (*.tar.zst). We enable multiple working threads (-T0), but keep default compression level. The latter can be influenced by environment variable. [0] https://www.zstd.net/ Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'cgitrc.5.txt')
-rw-r--r--cgitrc.5.txt9
1 files changed, 6 insertions, 3 deletions
diff --git a/cgitrc.5.txt b/cgitrc.5.txt
index 4ad3e64..33a6a8c 100644
--- a/cgitrc.5.txt
+++ b/cgitrc.5.txt
@@ -407,9 +407,12 @@ side-by-side-diffs::
407snapshots:: 407snapshots::
408 Text which specifies the default set of snapshot formats that cgit 408 Text which specifies the default set of snapshot formats that cgit
409 generates links for. The value is a space-separated list of zero or 409 generates links for. The value is a space-separated list of zero or
410 more of the values "tar", "tar.gz", "tar.bz2", "tar.xz", "tar.lz" and 410 more of the values "tar", "tar.gz", "tar.bz2", "tar.lz", "tar.xz",
411 "zip". The special value "all" enables all snapshot formats. 411 "tar.zst" and "zip". The special value "all" enables all snapshot
412 Default value: none. 412 formats. Default value: none.
413 All compressors use default settings. Some settings can be influenced
414 with environment variables, for example set ZSTD_CLEVEL=10 in web
415 server environment for higher (but slower) zstd compression.
413 416
414source-filter:: 417source-filter::
415 Specifies a command which will be invoked to format plaintext blobs 418 Specifies a command which will be invoked to format plaintext blobs