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

Re: [CORRECTED PATCH] git-fetch-pack: avoid unnecessary zero packing

From
Linus Torvalds <torvalds@osdl.org>
Date
Oct 18, 2005, 20:42 UTC
Message-ID
<Pine.LNX.4.64.0510181339220.3369@g5.osdl.org>
In-Reply-To
<Pine.LNX.4.64.0510181333380.3369@g5.osdl.org>
On Tue, 18 Oct 2005, Linus Torvalds wrote:
> 
> I'll see if I can come up with a good patch.

I see you already did. Looks fine. I'd suggest limiting the commits by number in mark_recent_commit_complete(), because

 (a) somebody might have their clock set wrong and you don't want to walk 
     a huge tree just because of something like that.
 (b) you might just have imported a huge history (badly) from somewhere 
     else
 (c) a _lot_ can happen in five days with automated things.
but yes, the approach looks very sane otherwise.
		Linus
Previous: Linus TorvaldsNext: Junio C Hamano
Message 6 of 7 in “git-fetch-pack: avoid unnecessary zero packing”
  1. git-fetch-pack: avoid unnecessary zero packingLinus Torvalds, Oct 18, 2005
  2. Junio C HamanoOct 18, 2005
  3. Junio C HamanoOct 18, 2005
  4. Junio C HamanoOct 18, 2005
  5. Linus TorvaldsOct 18, 2005
  6. Linus TorvaldsOct 18, 2005
  7. Junio C HamanoOct 19, 2005

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.