Re: How to replace a single corrupt, packed object?
- From
- Pieter de Bie <pdebie@ai.rug.nl>
- Date
- Aug 8, 2008, 15:30 UTC
- Message-ID
- <0BF03F86-8E4E-46D2-9B04-4385CEBD6902@ai.rug.nl>
- In-Reply-To
- <alpine.DEB.1.00.0808081639490.24820@pacific.mpi-cbg.de.mpi-cbg.de>
On 8 aug 2008, at 16:41, Johannes Schindelin wrote:
Show 13 quoted lines
> fatal: corrupt packed object for > 2c1e128aa51e3a64bd61556c0cd488628b423ccf > error: failed to run repack > > Fortunately, I have the uncorrupted object somewhere else. So I > copy the > single object as a loose one, and all is fine. Right? > > Wrong. > > Repack still picks up the corrupt object instead of the good one. > 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, as also explained in this thread:
http://thread.gmane.org/gmane.comp.version-control.git/40893/focus=40896
- Pieter