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

Re: Funny repack behaviour

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Apr 8, 2006, 22:11 UTC
Message-ID
<Pine.LNX.4.63.0604090010120.9176@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<Pine.LNX.4.64.0604081528070.2215@localhost.localdomain>
Hi,
On Sat, 8 Apr 2006, Nicolas Pitre wrote:
Show 12 quoted lines
> On Sat, 8 Apr 2006, Johannes Schindelin wrote:
> 
> > Hi,
> > 
> > I just accidentally reran "git-repack -a -d" on a repository, where I just 
> > had run it. And I noticed a funny thing: Of about 4000 objects, it reused 
> > all but 8. So I reran it, and it reused all but 2. I ran it once again, 
> > and it reused all.
> > 
> > The really funny thing is: it created the same pack every time!
> 
> Probably not.  Subsequent packs were most probably even smaller !

Oh, you're right. I was tricked by the identical pack-names. Somehow I forgot that the pack name just reflects a hash of the _unpacked_ objects, not the pack file itself.

Sorry for the noise.

Ciao, Dscho

Previous: Nicolas Pitre
Message 3 of 3 in “Funny repack behaviour”
  1. Johannes SchindelinApr 8, 2006
  2. Nicolas PitreApr 8, 2006
  3. Johannes SchindelinApr 8, 2006

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.