From: "Shawn O. Pearce" <spearce@spearce.org>
To: Jonas Schneider <JonasSchneider@gmx.de>
Cc: git@vger.kernel.org
Subject: Re: Broken index file - any hope?
Date: Fri, 3 Oct 2008 15:07:50 -0700 [thread overview]
Message-ID: <20081003220750.GY21310@spearce.org> (raw)
In-Reply-To: <48E696CB.6040405@gmx.de>
Jonas Schneider <JonasSchneider@gmx.de> wrote:
> Shawn O. Pearce schrieb:
>> git read-tree --reset HEAD
> Sadly, this doesnt help. I still get the same error.
> But, if I remove the corrupt index file, I get this:
>
> fatal: just how do you expect me to merge 0 trees?
Yea, so that sounds like "git log" doesn't work because HEAD isn't
pointing at a valid branch.
> Does not look like a good sign :/
> Are all my branches (branch==tree?) gone? (okay, werent that much)
Yes, a branch contains a series of trees. The current tree of a
branch is the tree of the most recent commit on that branch.
They may be gone.
--
Shawn.
next prev parent reply other threads:[~2008-10-03 22:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-03 21:51 Broken index file - any hope? Jonas Schneider
2008-10-03 21:53 ` Shawn O. Pearce
2008-10-03 22:03 ` Jonas Schneider
2008-10-03 22:07 ` Shawn O. Pearce [this message]
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=20081003220750.GY21310@spearce.org \
--to=spearce@spearce.org \
--cc=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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.