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

Re: missing object on git-gc

From
Christian Couder <chriscool@tuxfamily.org>
Date
Nov 8, 2007, 05:03 UTC
Message-ID
<200711080603.41004.chriscool@tuxfamily.org>
In-Reply-To
<6C2C79E72C305246B504CBA17B5500C9029A3071@mtlexch01.mtl.com>

There is an entry "How to fix a broken repository?" in the Git Faq on the wiki:

http://git.or.cz/gitwiki/GitFaq#head-ac11406480d09e2df98588e800e41b7256602074
Maybe it can help you.

The same topic has been discussed at least 3 times on the mailing list. By the way, if you find these discussions on gmane, please tell us so that we can add the links to the FAQ entry. (You can also add them yourself.)

Thanks, Christian.

Le jeudi 8 novembre 2007, Yossi Leybovich a écrit :
Show 21 quoted lines
> I am running the git-gc tool over my repository and get the following
> error: 
>
> > git-gc
>
> ...
> deltifying 3308 objects...
> error: corrupt loose object '<sha1>'
> fatal: object <sha1> cannot be read .
> error: failed to run repack
>  
> when sha1 is 40 bytes number
>  
> Does any one know how I can solve thus issue?
>  
> Thanks
> YOssi
> -
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous: Yossi LeybovichNext: Yossi Leybovich
Message 2 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.