From: Nicolas Pitre Date: Fri, 09 Nov 2007 16:52:17 GMT Subject: Re: corrupt object on git-gc Message-ID: In-Reply-To: <4fe79b4b0711090831o30d2880dh3d9ec0bb0503f77a@mail.gmail.com> On Fri, 9 Nov 2007, Yossi Leybovich wrote: > On Nov 9, 2007 11:03 AM, Nicolas Pitre wrote: > > On Fri, 9 Nov 2007, Yossi Leybovich wrote: > > > > > On Nov 9, 2007 10:34 AM, Johannes Sixt wrote: > > > > Yossi Leybovich schrieb: > > > > > [about corrupt loose object '4b9458b3786228369c63936db65827de3cc06200'] > > > > > > > > You can try to create a clone (after you have fixed up the artificial > > > > breakages that you made). If that goes well, then the bad object is > > > > referenced only from reflogs. > > > > > > > > > > > > > git clone ib ib-clone > > > Initialized empty Git repository in /home/mellanox/work/symm/ib-clone/.git/ > > > 0 blocks > > > > Please try "file://ib" instead. Otherwise the clone will only hardlink > > files to the original repository. > > > > > > And agian the corruption pop up again , so clone does not help OK that means that the object is really part of your active history. Linus just posted a nice summary of your only option left. If you manage to recreate the damaged object then it would be nice of you if you could provide us with both the bad and the good one for analysis. Nicolas