From: Jeff King <peff@peff.net>
To: Andrey Pavlenko <andrey.a.pavlenko@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: fast-import error: fatal: 'refs/heads/master' - not a valid ref
Date: Wed, 8 Aug 2012 13:54:33 -0400 [thread overview]
Message-ID: <20120808175433.GA12772@sigill.intra.peff.net> (raw)
In-Reply-To: <CAHSUVA5y1nZG69JbvC-wbmHhjyBGLx8Z2TM3htEyuCsWj=A+aw@mail.gmail.com>
On Wed, Aug 08, 2012 at 11:25:02AM +0400, Andrey Pavlenko wrote:
> I'm developing a remote helper which uses the fast-import stream for
> fetching. When I perform cloning git prints error message - "fatal:
> 'refs/heads/master' - not a valid ref", however the clonning completes
> normally. Each my fast-import commit command starts with "commit
> refs/heads/master" header.
>
> What does this error message mean and how can I fix it?
What version of git are you using? The only command which produces that
exact message is "git show-ref", and it is not called by current
versions of the cloning process (but it used to be in old versions).
-Peff
next prev parent reply other threads:[~2012-08-08 17:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-08 7:25 fast-import error: fatal: 'refs/heads/master' - not a valid ref Andrey Pavlenko
2012-08-08 17:54 ` Jeff King [this message]
2012-08-09 8:22 ` Andrey Pavlenko
2012-08-09 8:42 ` Andrey Pavlenko
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=20120808175433.GA12772@sigill.intra.peff.net \
--to=peff@peff.net \
--cc=andrey.a.pavlenko@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).