* fast-import error: fatal: 'refs/heads/master' - not a valid ref
@ 2012-08-08 7:25 Andrey Pavlenko
2012-08-08 17:54 ` Jeff King
0 siblings, 1 reply; 4+ messages in thread
From: Andrey Pavlenko @ 2012-08-08 7:25 UTC (permalink / raw)
To: git
Hi all,
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?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: fast-import error: fatal: 'refs/heads/master' - not a valid ref
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
2012-08-09 8:22 ` Andrey Pavlenko
0 siblings, 1 reply; 4+ messages in thread
From: Jeff King @ 2012-08-08 17:54 UTC (permalink / raw)
To: Andrey Pavlenko; +Cc: git
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: fast-import error: fatal: 'refs/heads/master' - not a valid ref
2012-08-08 17:54 ` Jeff King
@ 2012-08-09 8:22 ` Andrey Pavlenko
2012-08-09 8:42 ` Andrey Pavlenko
0 siblings, 1 reply; 4+ messages in thread
From: Andrey Pavlenko @ 2012-08-09 8:22 UTC (permalink / raw)
To: Jeff King; +Cc: git
git --version
git version 1.7.11.3
On Wed, Aug 8, 2012 at 9:54 PM, Jeff King <peff@peff.net> wrote:
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: fast-import error: fatal: 'refs/heads/master' - not a valid ref
2012-08-09 8:22 ` Andrey Pavlenko
@ 2012-08-09 8:42 ` Andrey Pavlenko
0 siblings, 0 replies; 4+ messages in thread
From: Andrey Pavlenko @ 2012-08-09 8:42 UTC (permalink / raw)
To: Jeff King; +Cc: git
My helper really executes git show-ref before writting the export stream...
Thank you for pointing that out and sorry for disturbing.
On Thu, Aug 9, 2012 at 12:22 PM, Andrey Pavlenko
<andrey.a.pavlenko@gmail.com> wrote:
> git --version
> git version 1.7.11.3
>
> On Wed, Aug 8, 2012 at 9:54 PM, Jeff King <peff@peff.net> wrote:
>> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-08-09 8:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2012-08-09 8:22 ` Andrey Pavlenko
2012-08-09 8:42 ` Andrey Pavlenko
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).