ui-snapshot: add support for lzip compression

This patch adds support for lzip [1] compressed snapshots (*.tar.lz)

[1] https://www.nongnu.org/lzip/

Signed-off-by: Hanspeter Portner <dev@open-music-kontrollers.ch>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Hanspeter Portner 2019-08-16 23:40:19 +02:00 committed by Jason A. Donenfeld
parent fde897b817
commit 06671f4b21
4 changed files with 52 additions and 3 deletions

View file

@ -407,8 +407,8 @@ side-by-side-diffs::
snapshots::
Text which specifies the default set of snapshot formats that cgit
generates links for. The value is a space-separated list of zero or
more of the values "tar", "tar.gz", "tar.bz2", "tar.xz" and "zip".
The special value "all" enables all snapshot formats.
more of the values "tar", "tar.gz", "tar.bz2", "tar.xz", "tar.lz" and
"zip". The special value "all" enables all snapshot formats.
Default value: none.
source-filter::