git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rostislav Svoboda <rostislav.svoboda@gmail.com>
To: git@vger.kernel.org
Subject: Re: fatal: bad object HEAD
Date: Thu, 19 Mar 2009 18:24:51 +0100	[thread overview]
Message-ID: <286817520903191024u7adecbebk30f6f064f38e615b@mail.gmail.com> (raw)
In-Reply-To: <286817520903190955n2e27abb6ydd52d9ddcffccbc7@mail.gmail.com>

I tried

$ git fsck --verbose
Checking tree fe217057862c74e6c1a0cf12e39b941f967927b2
Checking blob fe56c41c028f320bb474ca9e0fe15baa2b0aa122
Checking blob fe7c85910717d546ee002bb64a9d1476a9451eed
error: refs/heads/branch_1 does not point to a valid object!
error: refs/heads/branch_2 does not point to a valid object!
error: refs/heads/branch_3 does not point to a valid object!
error: refs/heads/branch_4 does not point to a valid object!
error: refs/heads/master does not point to a valid object!
Checking reflog
3d7d1cf8f8edae21d90be9d84c21b5ac65ee94dc->9e53015709777b533717b25687295407f38f840e
Checking reflog
9e53015709777b533717b25687295407f38f840e->695e934882e78fb85b78649dea5109aa69855a88
...

and deeper in the output there are 4 suspicious entries:
Checking reflog
0000000000000000000000000000000000000000->696bd2fc4a8554891976af42e65ccaf9d12009ac
Checking reflog
0000000000000000000000000000000000000000->aff44ac2a61607dd95caadd896e2cae51e4dfdcf
Checking reflog
0000000000000000000000000000000000000000->6f20af9bcc1f446116cc1af238cb849ca1ccd385
Checking reflog
0000000000000000000000000000000000000000->696bd2fc4a8554891976af42e65ccaf9d12009ac

I think here might the problem. Can anyone explain me what it means? thx a lot

Bost


On Thu, Mar 19, 2009 at 17:55, Rostislav Svoboda
<rostislav.svoboda@gmail.com> wrote:
> Hi people, I have a BIG trouble:
>
> $ git fsck
> error: refs/heads/branch_1 does not point to a valid object!
> error: refs/heads/branch_2 does not point to a valid object!
> error: refs/heads/branch_3 does not point to a valid object!
> error: refs/heads/master does not point to a valid object!
> (and quite many missing and dangling blobs)
>
> I use msysGit 1.6.1-preview20081227 and I did:
> $ git checkout master
> $ git gui
>
> here I got again and again that stupid error message
> 'file fname.ext has been modified but no changes detected' so I did
> $ git add fname.ext
> $ git branch branch_1    (here I did a mistake. I wanted to do 'git
> checkout branch_1' )
>
> And now is _everything_ seems to be lost... uaaaa :( What can I do now?
> Any would be REALLY appreciated
>
> Bost
>

      reply	other threads:[~2009-03-19 17:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-19 16:55 fatal: bad object HEAD Rostislav Svoboda
2009-03-19 17:24 ` Rostislav Svoboda [this message]

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=286817520903191024u7adecbebk30f6f064f38e615b@mail.gmail.com \
    --to=rostislav.svoboda@gmail.com \
    --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).