]> git.cameronkatri.com Git - cgit.git/commit
ui-snapshot: add support for zstd compression
authorChristian Hesse <mail@eworm.de>
Wed, 26 Feb 2020 08:12:21 +0000 (09:12 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Fri, 13 Mar 2020 01:56:39 +0000 (19:56 -0600)
commit892ba8c3cc0617d2087a2337d8c6e71524d7b49c
tree9f230da21b5cb0443a3058da543da6b13c959f71
parentcc230bf04456cc0ca82c6251b1624425eb7a7153
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>
cgitrc.5.txt
tests/setup.sh
tests/t0107-snapshot.sh
ui-snapshot.c