Re: [ANNOUNCE] Example Cogito Addon - cogito-bundle
- From
Junio C Hamano <junkio@cox.net>
- Date
- Oct 19, 2006, 03:46 UTC
- Message-ID
- <7vac3tx900.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.64.0610181655430.3962@g5.osdl.org>
Linus Torvalds <torvalds@osdl.org> writes:
Show 6 quoted lines
> Actually, I've hit an impasse. > > So there's _another_ way of fixing a thin pack: it's to expand the objects > without a base into non-delta objects, and keeping the number of objects > in the pack the same. But _again_, we don't actually know which ones to > expand until it's too late.
pack-objects.c::write_one() makes sure that we write out base immediately after delta if we haven't written out its base yet, so I suspect if you buffer one delta you should be Ok, no?