]> granicus.if.org Git - cgit/commit
ui-snapshot: add support for zstd compression
authorChristian Hesse <mail@eworm.de>
Wed, 26 Feb 2020 08:12:21 +0000 (09:12 +0100)
committerChristian Hesse <mail@eworm.de>
Wed, 26 Feb 2020 21:22:07 +0000 (22:22 +0100)
commit046ef25cec12bd48ef3adbef449f4e8280bb82f1
tree6e68a2b49a96b61d353d79ccd9336668b8887f66
parent06671f4b2167951c6b46401b0f5ac8af4d48d50a
ui-snapshot: add support for zstd compression

This patch adds support for zstd [0] compressed snapshots (*.tar.zst).
We enable multiple working threads (-T0) and compression level 10 (-10)
for a trade-off between speed and file size.

[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