]> Lady’s Gitweb - Gitweb/commit
gitweb.perl - Optionally send archives as .zip files
authorMark Levedahl <redacted>
Sun, 20 May 2007 15:46:46 +0000 (11:46 -0400)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:11 +0000 (00:07 -0400)
commitc27bd8fcb06c3aa3282e71d4aca2c9791eb49260c071d8de70ec4d44004e929d
treeba196aabb31bca2b8db785270d065cf739ac2bedfc4cbfe4d68526bbfef787d7
parenta857b68c52731a2b791cd48be717114192653326c05f71fe8e8219cf521c3585
gitweb.perl - Optionally send archives as .zip files

git-archive already knows how to generate an archive as a tar or a zip
file, but gitweb did not. zip archvies are much more usable in a Windows
environment due to native support and this patch allows a site admin the
option to deliver zip rather than tar files. The selection is done by
inserting

    $feature{'snapshot'}{'default'} = ['x-zip', 'zip', ''];

in gitweb_config.perl.

Tar files remain the default option.

Signed-off-by: Mark Levedahl <redacted>
Acked-by: Petr Baudis <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl
This page took 0.203049 seconds and 4 git commands to generate.