Re: [PATCH] pack-objects: reuse data from existing pack.
- From
Junio C Hamano <junkio@cox.net>
- Date
- Feb 17, 2006, 04:30 UTC
- Message-ID
- <7vu0ay8v4f.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <7vbqx8m62q.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> writes:
Show 6 quoted lines
> When generating a new pack, notice if we have already the wanted > object in existing packs. If the object has a delitified > representation, and its base object is also what we are going to > pack, then reuse the existing deltified representation > unconditionally, bypassing all the expensive find_deltas() and > try_deltas() routines.
This one has one nasty data corruption bug, which fortunately I think I have figured out how to fix. Please do not use it for your production repository in the meantime.