From: Shawn O. Pearce Date: Fri, 08 Aug 2008 16:19:37 GMT Subject: Re: How to replace a single corrupt, packed object? Message-ID: <20080808161937.GC9152@spearce.org> In-Reply-To: <0BF03F86-8E4E-46D2-9B04-4385CEBD6902@ai.rug.nl> Pieter de Bie wrote: > On 8 aug 2008, at 16:41, Johannes Schindelin wrote: > >> fatal: corrupt packed object for >> 2c1e128aa51e3a64bd61556c0cd488628b423ccf >> error: failed to run repack >> >> What's >> the best way out? > > I don't know how to replace the object, but you can expand the pack, > replace > the loose file, delete the old pack, and then create a new one I don't think that will work here. The unpack-objects process will fail when it finds this bad object, and everything after that in the pack file will be dropped on the floor and not get unpacked. -- Shawn.