X-Git-Url: https://git.ladys.computer/Gitweb/blobdiff_plain/122a58bcf077a2ae28764f6f2bbc019111b644cf5c864a24e4402a88758d398c..bb0c414bfd53048292613eac100b98687aa74e43a475e46e1630c6b7d4f16133:/gitweb.perl diff --git a/gitweb.perl b/gitweb.perl index 28833a8..6b12398 100755 --- a/gitweb.perl +++ b/gitweb.perl @@ -178,6 +178,14 @@ our %known_snapshot_formats = ( 'format' => 'tar', 'compressor' => ['bzip2']}, + 'txz' => { + 'display' => 'tar.xz', + 'type' => 'application/x-xz', + 'suffix' => '.tar.xz', + 'format' => 'tar', + 'compressor' => ['xz'], + 'disabled' => 1}, + 'zip' => { 'display' => 'zip', 'type' => 'application/x-zip', @@ -190,6 +198,7 @@ our %known_snapshot_formats = ( our %known_snapshot_format_aliases = ( 'gzip' => 'tgz', 'bzip2' => 'tbz2', + 'xz' => 'txz', # backward compatibility: legacy gitweb config support 'x-gzip' => undef, 'gz' => undef,