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

Re: git-pull followed by git-gc often yields *much* bigger pack than git-pull alone

From
Llinux@horizon.com <linux@horizon.com>
Date
Dec 12, 2007, 21:53 UTC
Message-ID
<20071212215303.29921.qmail@science.horizon.com>
Pre-gc:
> -r--r--r-- 1 compiler hackers   12080 2007-12-12 20:35 pack-f534c957f3ee7f3f1046dee0081fcc315d9698bb.idx
> -r--r--r-- 1 compiler hackers  678643 2007-12-12 20:35 pack-f534c957f3ee7f3f1046dee0081fcc315d9698bb.pack
Post-gc:
> -r--r--r-- 1 compiler hackers   20912 2007-12-12 20:36 pack-5145ce9770077cee99795fc21cfcc6ea30eb6d47.idx
> -r--r--r-- 1 compiler hackers 1144055 2007-12-12 20:36 pack-5145ce9770077cee99795fc21cfcc6ea30eb6d47.pack

The fact that the index file has grown so much indicates that it's sucking in a bunch of extra objects from the .keep pack, and you're seeing the duplication.

I'm not sure how that's happening, though. I thought the --local flag to git-pack-objects told it not to do that.

Next: Nix
Message 1 of 2 in “Re: git-pull followed by git-gc often yields *much* bigger pack than git-pull alone”
  1. linux@horizon.comDec 12, 2007
  2. NixDec 12, 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.