Re: Recovering from repository corruption
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Jun 10, 2008, 20:23 UTC
- Message-ID
- <alpine.LFD.1.10.0806101317100.3101@woody.linux-foundation.org>
- In-Reply-To
- <6dbd4d000806101303j4b2032ajc6e004e0a82e4db5@mail.gmail.com>
On Tue, 10 Jun 2008, Denis Bueno wrote:
Show 5 quoted lines
> > You're onto something: > > [dorothy.local /tmp <Tue Jun 10> <16:02:08>] > tmp[176] > git clone file:///Volumes/work/identity.fb/
[ successful ]
Hmm. Scary. That should *not* have been successful with a corrupt repo.
Unless you have done a .grafts file to hide the corruption, or something like that?
Have you saved away the original corrupt repo (the whole .git directory as a tar-ball, for example)? And is the data public and non-embarrassing enough so that you could make it available for some post-corruption analysis? Even if we cannot help recover it, real-life corruption is always interesting to see if only as a test-case to make sure that git notices it as quickly as possible.
Linus