From: David Miller Date: Sun, 01 Mar 2009 03:44:54 GMT Subject: Re: rogue tree objects, how to diagnose? Message-ID: <20090228.194454.05711858.davem@davemloft.net> In-Reply-To: <20090301032035.GB30384@coredump.intra.peff.net> From: Jeff King Date: Sat, 28 Feb 2009 22:20:35 -0500 > On Sat, Feb 28, 2009 at 07:12:06PM -0800, David Miller wrote: > > > From git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 > > * branch master -> FETCH_HEAD > > fatal: unable to read tree c9ee57c5c20c3b7a2d7784a4172aef8b34c3a844 > > davem@sunset:~/src/GIT/net-next-2.6$ git show c9ee57c5c20c3b7a2d7784a4172aef8b34c3a844 > > fatal: bad object c9ee57c5c20c3b7a2d7784a4172aef8b34c3a844 > > davem@sunset:~/src/GIT/net-next-2.6$ > > > > Now, what's funny is that this tree object does exist in my > > tree on master.kernel.org: > > "bad object" is about an object that did not parse correctly, as opposed > to one that is missing. So it's possible that your repository is > corrupted. I see. I GC and repack my local repos a lot, maybe it happened during one of those. Thanks a lot Jeff, I'll try to fix the corruption using the suggestions you gave me.