From: Bill Lear Date: Wed, 28 Feb 2007 15:28:15 GMT Subject: Re: Error "fatal: cannot pread pack file: Success" 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: >"Shawn O. Pearce" wrote: >> Bill Lear 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