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