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

Re: [PATCH 06/18] Don't expect verify_pack() callers to set pack_size

From
Junio C Hamano <gitster@pobox.com>
Date
May 24, 2009, 20:43 UTC
Message-ID
<7vzld2teo4.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20090524221947.c83d6aba.rctay89@gmail.com>
Tay Ray Chuan <rctay89@gmail.com> writes:
Show 9 quoted lines
> Since use_pack() will end up populating pack_size if it is not already set,
> we can just adapt the code in verify_packfile() such that it doesn't require
> pack_size to be set beforehand.
>
> This allows callers not to have to set pack_size themselves, and we can thus
> revert changes from 1c23d794 (Don't die in git-http-fetch when fetching packs).
>
> Signed-off-by: Mike Hommey <mh@glandium.org>
> Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>

When you forward somebody else's patch, please be careful not to lose the attribution, by having

	From: Mike Hommey <mh@glandium.org>
        Date: <<<the original author date from Mike>>>
and an empty line before you start the commit log message.
Previous: Tay Ray Chuan
Message 2 of 2 in “Don't expect verify_pack() callers to set pack_size”
  1. 06/18 Don't expect verify_pack() callers to set pack_sizeTay Ray Chuan, May 24, 2009
  2. Junio C HamanoMay 24, 2009

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.