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

Corrupted git repository?

From
PKPiotr Krukowiecki <piotr.krukowiecki.news@gmail.com>
Date
Feb 15, 2011, 14:57 UTC
Message-ID
<AANLkTimMon7ztbyT26YhotiZ=jd=QpNTvOkPCKwHg+e_@mail.gmail.com>
Hi,
it looks like my git repository got corrupted today.

git status shows no changes, git cherry-pick says "error: Your local changes to the following files would be overwritten by merge:", git fsck starts checking objects but hangs on one "Checking tree"

Other commands (gc, checkout, reset) seem to work correctly.
I've tried hard resetting to HEAD, didn't help.
What can I do? Cloning is very expensive operation here.
-- 
Piotrek
Next: Junio C Hamano
Message 1 of 5 in “Corrupted git repository?”
  1. Piotr KrukowieckiFeb 15, 2011
  2. Junio C HamanoFeb 15, 2011
  3. Piotr KrukowieckiFeb 16, 2011
  4. Johannes SixtFeb 16, 2011
  5. Piotr KrukowieckiFeb 16, 2011

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.