From: Luciano Rocha <luciano@lsd.di.uminho.pt>
To: Luke Diamand <luke@diamand.org>
Cc: git@vger.kernel.org
Subject: Re: git repo being corrupted?
Date: Mon, 7 Apr 2008 12:17:40 +0100 [thread overview]
Message-ID: <20080407111740.GA12776@bit.office.eurotux.com> (raw)
In-Reply-To: <47F9F1A1.30009@diamand.org>
[-- Attachment #1: Type: text/plain, Size: 661 bytes --]
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 #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2008-04-07 11:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-07 10:04 git repo being corrupted? Luke Diamand
2008-04-07 11:17 ` Luciano Rocha [this message]
2008-04-07 11:21 ` Luke Diamand
2008-04-07 11:39 ` Luciano Rocha
2008-04-07 16:15 ` David Brown
2008-04-07 16:47 ` Luciano Rocha
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080407111740.GA12776@bit.office.eurotux.com \
--to=luciano@lsd.di.uminho.pt \
--cc=git@vger.kernel.org \
--cc=luke@diamand.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).