On Thu, Nov 14, 2019 at 9:49 PM Werner LEMBERG <w...@gnu.org> wrote:
>
>
> >> There is git-fsck .
> >>
> >
> > [dev@lilydev:lilypond-git]$ git fsck
> > Segmentation faultrectories:  45% (116/256)
>
> Ouch.  I've never experienced such a thing with git.  Maybe something
> is broken with your installation?  Does removing and installing again
> help?
>
>
>     Werner

Do you mean removing git itself?  I'd like to be able to get back to
the work I just did, if at all possible.

I deleted the empty object that git commands complained about, and now
git fsck works.

I get this output
:
[dev@lilydev:lilypond-git]$ git fsck
Checking object directories: 100% (256/256), done.
Checking objects: 100% (402883/402883), done.
error: HEAD: invalid sha1 pointer 76008183503d70d4b37a73f19e60c2438112a5a8
error: refs/heads/dev/measure_spanner: invalid sha1 pointer
76008183503d70d4b37a73f19e60c2438112a5a8
Checking connectivity: 401781, done.

(dev/measure_spanner is the name of my branch)

By the way, git reflog gives me this:

[dev@lilydev:lilypond-git]$ git reflog
fatal: bad object HEAD

Any ideas how to fix this?

Thanks,
David

Reply via email to