From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Pitre Subject: Re: corrupt object on git-gc Date: Fri, 09 Nov 2007 11:52:17 -0500 (EST) Message-ID: References: <4fe79b4b0711090538wf483ce7j89c518962e89780e@mail.gmail.com> <473464A2.7080003@op5.se> <4fe79b4b0711090701g7a43cdfdi5e20e5ffb437d7bb@mail.gmail.com> <47347E0E.1040205@viscovery.net> <4fe79b4b0711090753r52abd3e1ree64271c0fa229f6@mail.gmail.com> <4fe79b4b0711090831o30d2880dh3d9ec0bb0503f77a@mail.gmail.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: 7BIT Cc: Johannes Sixt , Andreas Ericsson , git@vger.kernel.org, Yossi Leybovich To: Yossi Leybovich X-From: git-owner@vger.kernel.org Fri Nov 09 17:52:58 2007 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1IqX5v-0008Tw-8p for gcvg-git-2@gmane.org; Fri, 09 Nov 2007 17:52:35 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754152AbXKIQwT (ORCPT ); Fri, 9 Nov 2007 11:52:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752823AbXKIQwT (ORCPT ); Fri, 9 Nov 2007 11:52:19 -0500 Received: from relais.videotron.ca ([24.201.245.36]:41262 "EHLO relais.videotron.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754152AbXKIQwT (ORCPT ); Fri, 9 Nov 2007 11:52:19 -0500 Received: from xanadu.home ([74.56.106.175]) by VL-MO-MR001.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0JR900H0H075VU80@VL-MO-MR001.ip.videotron.ca> for git@vger.kernel.org; Fri, 09 Nov 2007 11:52:18 -0500 (EST) X-X-Sender: nico@xanadu.home In-reply-to: <4fe79b4b0711090831o30d2880dh3d9ec0bb0503f77a@mail.gmail.com> Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: 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