Re: Error "fatal: cannot pread pack file: Success"
- From
Bill Lear <rael@zopyra.com>
- Date
- Feb 28, 2007, 15:28 UTC
- Message-ID
- <17893.40847.313519.283218@lisa.zopyra.com>
- In-Reply-To
- <20070228044719.GA6068@spearce.org>
On Tuesday, February 27, 2007 at 23:47:19 (-0500) Shawn O. Pearce writes:
Show 17 quoted lines
>"Shawn O. Pearce" <spearce@spearce.org> wrote: >> Bill Lear <rael@zopyra.com> wrote: >> > Using 1.5.0.1. Can't see what is wrong with this clone... >> ... >> > Indexing 4589 objects. >> > remote: Total 4589 (delta 2209), reused 4589 (delta 2209) >> > 100% (4589/4589) done >> > Resolving 2209 deltas. >> > fatal: cannot pread pack file: Success >> > fatal: index-pack died with error code 128 >> > fetch-pack from '/home/rael/devel/project/.git' failed. >> >> I think the pread() in get_data_from_pack of index-pack is wrong, >> it really should be looping until we fill the buffer in case the >> OS doesn't fully satisfy our read request the first time. > >Does this fix your problem?
Just got back: I will try applying this patch and testing with it and let you know.
Yes, this is a mounted filesystem --- I did post the 'df -h' to show this because I suspected something awry with it being a mounted drive.
I'll let you know if this fixes it...
Bill