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

git repo being corrupted?

From
Luke Diamand <luke@diamand.org>
Date
Apr 7, 2008, 10:04 UTC
Message-ID
<47F9F1A1.30009@diamand.org>
I've recently started to notice the following being reported:

% git-status error: bad index file sha1 signature fatal: index file corrupt

(a) Is there anything I can do to fix this (apart from git-clone from the repo and start over) ? git-fsck reports the same problem.

(b) What is causing it? Is it just my hard disk failing, or is it a bug? A memory test seems to be OK.

Linux 2.6.22-3-amd64 File system is XFS git version 1.5.4.4

Next: Luciano Rocha
Message 1 of 6 in “git repo being corrupted?”
  1. Luke DiamandApr 7, 2008
  2. Luciano RochaApr 7, 2008
  3. Luke DiamandApr 7, 2008
  4. Luciano RochaApr 7, 2008
  5. David BrownApr 7, 2008
  6. Luciano RochaApr 7, 2008

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.