Re: [ANNOUNCE] Example Cogito Addon - cogito-bundle
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Oct 18, 2006, 22:00 UTC
- Message-ID
- <Pine.LNX.4.64.0610181455570.3962@g5.osdl.org>
- In-Reply-To
- <20061018214143.GF19194@spearce.org>
On Wed, 18 Oct 2006, Shawn Pearce wrote:
Show 11 quoted lines
> > Actually there is a point to storing thin packs. When I pull from > a remote repo (or push to a remote repo) a huge number of objects > and the target disk that is about to receive that huge number of > loose objects is slooooooooow I would rather just store the thin > pack then store the loose objects. > > Ideally that thin pack would be repacked (along with the other > existing packs) as quickly as possible into a self-contained pack. > But that of course is unlikely to happen in practice; especially > on a push.
I'm really nervous about keeping thin packs around.
But a possibly good (and fairly simple) alternative would be to just create a non-thin pack on the receiving side. Right now we unpack into a lot of loose objects, but it should be possible to instead "unpack" into a non-thin pack.
In other words, we could easily still use the thin pack for communication, we'd just "fill it out" on the receiving side.
Linus