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

Re: Corruption in the repository

From
Sylvestre Ledru <sylvestre.ledru@scilab.org>
Date
Dec 13, 2010, 16:47 UTC
Message-ID
<1292258845.25237.27680.camel@korcula.inria.fr>
In-Reply-To
<AANLkTimD6+CHofhbKvBPjHpcNUNusHOCHSQe+-J1ZA4F@mail.gmail.com>
Le lundi 13 décembre 2010 à 17:34 +0100, Christian Couder a écrit :
Show 26 quoted lines
> Hi,
> 
> On Mon, Dec 13, 2010 at 4:59 PM, Sylvestre Ledru
> <sylvestre.ledru@scilab.org> wrote:
> > Hello guys,
> >
> > I have a small problem with a git repository and I haven't find a way to
> > fix my problem.
> > I am using git with gerrit [1] as frontend (even if I don't think it is
> > related here).
> > For an unknown reason, the repository just became corrupted.
> >
> > When I try to clone the repository straight with the file system, the
> > following error is displayed:
> > error: refs/changes/98/398/1 does not point to a valid object!
> > error: refs/changes/98/398/2 does not point to a valid object!
> > fatal: object cff52c24fba28408e7d021a8f35a717bef31521d is corrupted
> > fatal: The remote end hung up unexpectedly
> >
> > git-prune & git-fsck both fail.
> >
> > Does anyone know how to repair this error ?
> 
> Did you try what the FAQ suggests:
> 
> https://git.wiki.kernel.org/index.php/GitFaq#How_to_fix_a_broken_repository.3F

Yes. It shows an other error and it doesn't match the error described on this URL [1].

I get the following: error: refs/tags/5.3.0-beta-4 does not point to a valid object! fatal: object 555a7c359b2e589ec10822d9b56cdfeee0105fe0 is corrupted

Sylvestre

[1] $ git fsck --full

> broken link from    tree 2d9263c6d23595e7cb2a21e5ebbb53655278dff8
>              to    blob 4b9458b3786228369c63936db65827de3cc06200
> missing blob 4b9458b3786228369c63936db65827de3cc06200
Previous: Christian CouderNext: Christian Couder
Message 3 of 12 in “Corruption in the repository”
  1. Sylvestre LedruDec 13, 2010
  2. Christian CouderDec 13, 2010
  3. Sylvestre LedruDec 13, 2010
  4. Christian CouderDec 13, 2010
  5. Sylvestre LedruDec 13, 2010
  6. Christian CouderDec 14, 2010
  7. Jonathan NiederDec 14, 2010
  8. Sylvestre LedruDec 14, 2010
  9. Sylvestre LedruDec 14, 2010
  10. Christian CouderDec 14, 2010
  11. Sylvestre LedruDec 14, 2010
  12. Jonathan NiederDec 14, 2010

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.