git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: corrupt object on git-gc

From
Nicolas Pitre <nico@cam.org>
Date
Nov 9, 2007, 16:17 UTC
Message-ID
<alpine.LFD.0.9999.0711091116470.21255@xanadu.home>
In-Reply-To
<20071109081035.GA2794@steel.home>
On Fri, 9 Nov 2007, Alex Riesen wrote:
Show 13 quoted lines
> Yossi Leybovich, Fri, Nov 09, 2007 00:59:47 +0100:
> > I wonder if someone can help in this error
> > I tried to do git-gc and got error on corrupted object. 
> > 
> > I do the following:
> > 
> > $ git-gc
> > Generating pack...
> > Done counting 3037 objects.
> > Deltifying 3037 objects...
> > error: corrupt loose object '4b9458b3786228369c63936db65827de3cc06200'
> 
> It is loose. Nothing uses it in this repository.
Very wrong.  Loose object != unreachable object.
Nicolas
Previous: Andreas Ericsson
Message 10 of 10 in “missing object on git-gc”
  1. Yossi LeybovichNov 8, 2007
  2. Christian CouderNov 8, 2007
  3. corrupt object on git-gcYossi Leybovich, Nov 8, 2007
  4. Christian CouderNov 9, 2007
  5. Yossi LeybovichNov 9, 2007
  6. Junio C HamanoNov 9, 2007
  7. Alex RiesenNov 9, 2007
  8. Yossi LeybovichNov 9, 2007
  9. Andreas EricssonNov 9, 2007
  10. Nicolas PitreNov 9, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.