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

Re: corrupt object on git-gc

From
YLYossi Leybovich <sleybo@gmail.com>
Date
Nov 9, 2007, 16:31 UTC
Message-ID
<4fe79b4b0711090831o30d2880dh3d9ec0bb0503f77a@mail.gmail.com>
In-Reply-To
<alpine.LFD.0.9999.0711091102370.21255@xanadu.home>
On Nov 9, 2007 11:03 AM, Nicolas Pitre <nico@cam.org> wrote:
Show 20 quoted lines
> On Fri, 9 Nov 2007, Yossi Leybovich wrote:
>
> > On Nov 9, 2007 10:34 AM, Johannes Sixt <j.sixt@viscovery.net> 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

[mellanox@mellanox-compile ib]$ git clone file://ib ib-clone Initialized empty Git repository in /home/mellanox/work/symm/ib-clone/.git/ remote: Generating pack... remote: Counting objects: 276 Done counting 3288 objects. remote: Deltifying 3288 objects... remote: error: remote: corrupt loose object '4b9458b3786228369c63936db65827de3cc06200'remote: remote: fatal: remote: object 4b9458b3786228369c63936db65827de3cc06200 cannot be readremote: error: git-upload-pack: git-pack-objects died with error. remote: aborting due to possible repository corruption on the remote side. fatal: early EOF fatal: index-pack died with error code 128 fetch-pack from 'file://ib' failed. fatal: git-upload-pack: aborting due to possible repository corruption on the remote side.

> Nicolas
>
Previous: Nicolas PitreNext: Nicolas Pitre
Message 8 of 20 in “Re: corrupt object on git-gc”
  1. Yossi LeybovichNov 9, 2007
  2. Andreas EricssonNov 9, 2007
  3. Yossi LeybovichNov 9, 2007
  4. Johannes SixtNov 9, 2007
  5. Yossi LeybovichNov 9, 2007
  6. Johannes SixtNov 9, 2007
  7. Nicolas PitreNov 9, 2007
  8. Yossi LeybovichNov 9, 2007
  9. Nicolas PitreNov 9, 2007
  10. Linus TorvaldsNov 9, 2007
  11. add a howto document about corrupted blob recoveryNicolas Pitre, Nov 9, 2007
  12. Johannes SchindelinNov 9, 2007
  13. J. Bruce FieldsNov 26, 2007
  14. Yossi LeybovichNov 9, 2007
  15. Linus TorvaldsNov 9, 2007
  16. Yossi LeybovichNov 9, 2007
  17. Linus TorvaldsNov 9, 2007
  18. Mike HommeyNov 9, 2007
  19. Yossi LeybovichNov 9, 2007
  20. Mike HommeyNov 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.