diff options
author | Mark Levedahl <mdl123@verizon.net> | 2007-05-20 15:46:46 (GMT) |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-05-23 22:09:49 (GMT) |
commit | 072570ee2689c5f19513157d654f04f5a7113a24 (patch) | |
tree | 6c463e3b0bd54e41be1b3a21989772cb56ed2c40 /contrib/workdir | |
parent | 2720de426112269df2025eb83af8806203958237 (diff) | |
download | git-072570ee2689c5f19513157d654f04f5a7113a24.zip git-072570ee2689c5f19513157d654f04f5a7113a24.tar.gz git-072570ee2689c5f19513157d654f04f5a7113a24.tar.bz2 |
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 <mdl123@verizon.net>
Acked-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'contrib/workdir')
0 files changed, 0 insertions, 0 deletions