From: Shawn O. Pearce Date: Fri, 03 Oct 2008 22:07:50 GMT Subject: Re: Broken index file - any hope? Message-ID: <20081003220750.GY21310@spearce.org> In-Reply-To: <48E696CB.6040405@gmx.de> Jonas Schneider 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.