Re: git repo being corrupted?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: pgp1fVmtCZaHx.pgp
Description: PGP signature


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux