Thread (6 messages) flat view 6 messages, 3 authors, 2016-06-15

Re: git repo being corrupted?

From: Luciano Rocha <hidden>
Date: 2016-06-15 22:44:27

On Mon, Apr 07, 2008 at 11:04:17AM +0100, Luke Diamand wrote:
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.
rm -f .git/index should do it.
(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
You're using XFS. Did you have a power fail in the recent past?

-- 
lfr
0/0

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help