From: Tassilo Horn <tsdh@gnu.org>
To: emacs-devel <emacs-devel@gnu.org>
Subject: error: refs/heads/master does not point to a valid object!
Date: Mon, 12 Dec 2022 09:28:49 +0100 [thread overview]
Message-ID: <87y1rduhyh.fsf@gnu.org> (raw)
Hi all,
since today I get the following git error when running git pull in my
emacs clone where the master branch is checked out.
--8<---------------cut here---------------start------------->8---
❯ git pull
error: refs/heads/master does not point to a valid object!
Your configuration specifies to merge with the ref 'refs/heads/master'
from the remote, but no such ref was fetched.
--8<---------------cut here---------------end--------------->8---
I get the very same error in my emacs clone on some other machine, so
chances of a local hiccup are small. Needless to say, on othe git
repositories, I don't get the error.
git log master or git log origin/master on my main machine both show:
--8<---------------cut here---------------start------------->8---
commit 3785fe52e4692ffef14c0a1e50361c22d66fabe8 (HEAD -> master, origin/master, origin/
HEAD)
Author: Jim Porter <jporterbugs@gmail.com>
Date: Fri Dec 9 22:56:24 2022 -0800
--8<---------------cut here---------------end--------------->8---
On the other machine, it's an even older commit from December, 4th.
I've run
--8<---------------cut here---------------start------------->8---
❯ git fsck --full
Checking object directories: 100% (256/256), done.
Checking objects: 100% (1170707/1170707), done.
Checking connectivity: 1170707, done.
Verifying commits in commit graph: 100% (195467/195467), done.
--8<---------------cut here---------------end--------------->8---
but that didn't help. I'm still seeing the error on git pull.
Looking at
https://git.savannah.gnu.org/cgit/emacs.git/refs/heads?h=comment-cache,
it seems like there is no master branch on savannah at all! I guess
that's not intended, right?
Bye,
Tassilo
next reply other threads:[~2022-12-12 8:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-12 8:28 Tassilo Horn [this message]
2022-12-12 8:59 ` error: refs/heads/master does not point to a valid object! Gregory Heytings
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y1rduhyh.fsf@gnu.org \
--to=tsdh@gnu.org \
--cc=emacs-devel@gnu.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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).