author | Mark Levedahl <mdl123@verizon.net> | |
Sun, 20 May 2007 15:46:46 +0000 (11:46 -0400) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 23 May 2007 22:09:49 +0000 (15:09 -0700) | ||
commit | 072570ee2689c5f19513157d654f04f5a7113a24 | |
tree | 6c463e3b0bd54e41be1b3a21989772cb56ed2c40 | tree | snapshot |
parent | 2720de426112269df2025eb83af8806203958237 | commit | diff |
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>
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>
gitweb/gitweb.perl | diff | blob | history |