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

Re: Seriously broken "git pack-refs"

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Jan 26, 2007, 06:05 UTC
Message-ID
<Pine.LNX.4.64.0701252202130.25027@woody.linux-foundation.org>
In-Reply-To
<7v7iva4glo.fsf@assigned-by-dhcp.cox.net>
On Thu, 25 Jan 2007, Junio C Hamano wrote:
> 
> But I think "only packing tags" is a reasonable default

Sure, I agree. I just think that it had the unintended side effect when the code then didn't repack stuff that had already been packed earlier.

Which is why my fix doesn't actually change the fact that we only pack tags by default, but just fixes the thing that caused us to then totally drop previously packed non-tags.

So now the default isn't really "pack only tags", but "pack only tags *or* things that were already packed".

The reason, of course, is that if we don't pack stuff that used to be packed, it will just be dropped entirely. Oops.

		Linus
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 6 in “Seriously broken "git pack-refs"”
  1. Linus TorvaldsJan 26, 2007
  2. Junio C HamanoJan 26, 2007
  3. Linus TorvaldsJan 26, 2007
  4. Junio C HamanoJan 26, 2007
  5. Linus TorvaldsJan 26, 2007
  6. Junio C HamanoJan 26, 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.