Re: fast-import error: fatal: 'refs/heads/master' - not a valid ref
- From
Jeff King <peff@peff.net>
- Date
- Aug 8, 2012, 17:54 UTC
- Message-ID
- <20120808175433.GA12772@sigill.intra.peff.net>
- In-Reply-To
- <CAHSUVA5y1nZG69JbvC-wbmHhjyBGLx8Z2TM3htEyuCsWj=A+aw@mail.gmail.com>
On Wed, Aug 08, 2012 at 11:25:02AM +0400, Andrey Pavlenko wrote:
Show 7 quoted lines
> 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