Re: How to replace a single corrupt, packed object?
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Aug 8, 2008, 14:50 UTC
- Message-ID
- <alpine.DEB.1.00.0808081647580.24820@pacific.mpi-cbg.de.mpi-cbg.de>
- In-Reply-To
- <20080808143918.GB9152@spearce.org>
Hi,
On Fri, 8 Aug 2008, Shawn O. Pearce wrote:
Show 17 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote: > > my auto gc kicked in, and shows this: > > > > 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? > > Use a 1.6.0 rc? Nico I thought fixed this in 1.6 to automatically > try and find another copy of an object if the first copy considered > for inclusion into the pack was corrupt.
Thanks for the quick reply, but no joy (You should know me better than that ;-) :
$ git --version git version 1.6.0.rc1.112.gebbe4
Ciao, Dscho