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

Re: Corruption in the repository

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Dec 14, 2010, 19:19 UTC
Message-ID
<20101214191901.GA7257@burratino>
In-Reply-To
<1292255990.25237.27642.camel@korcula.inria.fr>
Sylvestre Ledru wrote:
> 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

Ah, should have thought of this sooner. There doesn't seem to be corruption involved after all.

> Does anyone know how to repair this error ?
Use git from the "master" branch to consolidate pack files:
	~/src/git/bin-wrappers/git repack -a -d

Details are in f2e872aa5 (Work around EMFILE when there are too many pack files, 2010-11-01), which will likely be part of git 1.7.4. Thanks for reporting and sorry for the trouble.

Jonathan
Previous: Sylvestre Ledru
Message 12 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.