Re: fact-import: failed to apply delta
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Feb 10, 2009, 19:12 UTC
- Message-ID
- <20090210191220.GT30949@spearce.org>
- In-Reply-To
- <alpine.LNX.1.00.0902101226580.19665@iabervon.org>
Daniel Barkalow <barkalow@iabervon.org> wrote:
Show 6 quoted lines
> > Actually, I went for the other end; I made close_pack_windows() not mind > the open windows (hey, it's dying anyway in my case, nobody's going to > write more), and the results passed verification and "git fsck --full" > with just a few dangling blobs and a dangling commit. So it seems to me > that it has to be wrong information in memory.
Like the wrong offset within the pack for the object start?
Can you compare the offsets you are getting during unpack_delta_entry() against what verify-pack -v shows for the same file? They should agree, unless we're somehow wrong in memory within fast-import.
But then, the output pack-*.idx file created when fast-import closed the pack would be wrong too.
-- Shawn.