diff options
| author | Mark Levedahl <mdl123@verizon.net> | 2007-05-20 11:46:46 -0400 |
|---|---|---|
| committer | Junio C Hamano <junkio@cox.net> | 2007-05-23 15:09:49 -0700 |
| commit | 072570ee2689c5f19513157d654f04f5a7113a24 (patch) | |
| tree | 6c463e3b0bd54e41be1b3a21989772cb56ed2c40 /commit.c | |
| parent | Merge branch 'fl/cvsserver' (diff) | |
| download | git-072570ee2689c5f19513157d654f04f5a7113a24.tar.gz git-072570ee2689c5f19513157d654f04f5a7113a24.zip | |
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 'commit.c')
0 files changed, 0 insertions, 0 deletions
