git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] gitweb.perl - Optionally send archives as .zip files

From
Junio C Hamano <junkio@cox.net>
Date
May 23, 2007, 22:09 UTC
Message-ID
<7v3b1n19bn.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20070522122828.GJ4489@pasky.or.cz>
Petr Baudis <pasky@suse.cz> writes:
Show 18 quoted lines
>  Hi,
>
> On Sun, May 20, 2007 at 05:46:46PM CEST, Mark Levedahl wrote:
>> 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>
Ok, will apply to 'master'.
Previous: Petr Baudis
Message 3 of 3 in “gitweb.perl - Optionally send archives as .zip files”
  1. gitweb.perl - Optionally send archives as .zip filesMark Levedahl, May 20, 2007
  2. Petr BaudisMay 22, 2007
  3. Junio C HamanoMay 23, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.