From: Jonas Schneider <JonasSchneider@gmx.de>
To: git@vger.kernel.org
Subject: Broken index file - any hope?
Date: Fri, 03 Oct 2008 23:51:37 +0200 [thread overview]
Message-ID: <48E693E9.708@gmx.de> (raw)
Hey guys,
I come from the Ruby on Rails world, where Git is now spreading like ...
duh, something fast.
Today I sadly lost my complete .git directory, only the working copy was
left behind.
I reconstructed the directory, but the index file seems to be corrupt,
every command just tells me about a bad signature.
I hope the rest of the repository is intanct. If it is, is there any
chance to restore/rebuild that index file from the rest?
I don't have an idea of the internals of git, but I know the objects are
stored in different files, and maybe on top of that
I could rebuild the index file.
Any hope?
Thanks,
--Jonas Schneider
next reply other threads:[~2008-10-03 21:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-03 21:51 Jonas Schneider [this message]
2008-10-03 21:53 ` Broken index file - any hope? Shawn O. Pearce
2008-10-03 22:03 ` Jonas Schneider
2008-10-03 22:07 ` Shawn O. Pearce
2008-10-03 22:09 ` Jeff Whiteside
2008-10-04 3:08 ` Linus Torvalds
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=48E693E9.708@gmx.de \
--to=jonasschneider@gmx.de \
--cc=git@vger.kernel.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).