{"thread":{"id":"31206","subject":"fast-import error: fatal: 'refs/heads/master' - not a valid ref","startedAt":"2012-08-08T07:25:02Z","lastAt":"2012-08-09T08:42:03Z","messageCount":4,"participants":["Andrey Pavlenko","Jeff King"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"196641","messageId":"CAHSUVA5y1nZG69JbvC-wbmHhjyBGLx8Z2TM3htEyuCsWj=A+aw@mail.gmail.com","threadId":"31206","inReplyTo":null,"subject":"fast-import error: fatal: 'refs/heads/master' - not a valid ref","fromName":"Andrey Pavlenko","fromEmail":"andrey.a.pavlenko@gmail.com","sentAt":"2012-08-08T07:25:02Z","receivedAt":"2012-08-08T07:25:02Z","isPatch":false,"sender":{"key":"andrey.a.pavlenko@gmail.com","avatar":null},"body":"Hi all,\n\nI'm developing a remote helper which uses the fast-import stream for\nfetching. When I perform cloning git prints error message - \"fatal:\n'refs/heads/master' - not a valid ref\", however the clonning completes\nnormally. Each my fast-import commit command starts with \"commit\nrefs/heads/master\" header.\n\nWhat does this error message mean and how can I fix it?\n"},{"id":"196680","messageId":"20120808175433.GA12772@sigill.intra.peff.net","threadId":"31206","inReplyTo":"CAHSUVA5y1nZG69JbvC-wbmHhjyBGLx8Z2TM3htEyuCsWj=A+aw@mail.gmail.com","subject":"Re: fast-import error: fatal: 'refs/heads/master' - not a valid ref","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2012-08-08T17:54:33Z","receivedAt":"2012-08-08T17:54:33Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Wed, Aug 08, 2012 at 11:25:02AM +0400, Andrey Pavlenko wrote:\n\n> I'm developing a remote helper which uses the fast-import stream for\n> fetching. When I perform cloning git prints error message - \"fatal:\n> 'refs/heads/master' - not a valid ref\", however the clonning completes\n> normally. Each my fast-import commit command starts with \"commit\n> refs/heads/master\" header.\n> \n> What does this error message mean and how can I fix it?\n\nWhat version of git are you using? The only command which produces that\nexact message is \"git show-ref\", and it is not called by current\nversions of the cloning process (but it used to be in old versions).\n\n-Peff\n"},{"id":"196730","messageId":"CAHSUVA4muWPh7jYNJNsPP4=_g0z98QQmz6fzraVkKfyDgE_rcw@mail.gmail.com","threadId":"31206","inReplyTo":"20120808175433.GA12772@sigill.intra.peff.net","subject":"Re: fast-import error: fatal: 'refs/heads/master' - not a valid ref","fromName":"Andrey Pavlenko","fromEmail":"andrey.a.pavlenko@gmail.com","sentAt":"2012-08-09T08:22:22Z","receivedAt":"2012-08-09T08:22:22Z","isPatch":false,"sender":{"key":"andrey.a.pavlenko@gmail.com","avatar":null},"body":"git --version\ngit version 1.7.11.3\n\nOn Wed, Aug 8, 2012 at 9:54 PM, Jeff King <peff@peff.net> wrote:\n> On Wed, Aug 08, 2012 at 11:25:02AM +0400, Andrey Pavlenko wrote:\n>\n>> I'm developing a remote helper which uses the fast-import stream for\n>> fetching. When I perform cloning git prints error message - \"fatal:\n>> 'refs/heads/master' - not a valid ref\", however the clonning completes\n>> normally. Each my fast-import commit command starts with \"commit\n>> refs/heads/master\" header.\n>>\n>> What does this error message mean and how can I fix it?\n>\n> What version of git are you using? The only command which produces that\n> exact message is \"git show-ref\", and it is not called by current\n> versions of the cloning process (but it used to be in old versions).\n>\n> -Peff\n"},{"id":"196731","messageId":"CAHSUVA5hUODLyqL=nqzSuJxBMrWNZeJmLp2+HwJKVN7DU8HPQg@mail.gmail.com","threadId":"31206","inReplyTo":"CAHSUVA4muWPh7jYNJNsPP4=_g0z98QQmz6fzraVkKfyDgE_rcw@mail.gmail.com","subject":"Re: fast-import error: fatal: 'refs/heads/master' - not a valid ref","fromName":"Andrey Pavlenko","fromEmail":"andrey.a.pavlenko@gmail.com","sentAt":"2012-08-09T08:42:03Z","receivedAt":"2012-08-09T08:42:03Z","isPatch":false,"sender":{"key":"andrey.a.pavlenko@gmail.com","avatar":null},"body":"My helper really executes git show-ref before writting the export stream...\nThank you for pointing that out and sorry for disturbing.\n\nOn Thu, Aug 9, 2012 at 12:22 PM, Andrey Pavlenko\n<andrey.a.pavlenko@gmail.com> wrote:\n> git --version\n> git version 1.7.11.3\n>\n> On Wed, Aug 8, 2012 at 9:54 PM, Jeff King <peff@peff.net> wrote:\n>> On Wed, Aug 08, 2012 at 11:25:02AM +0400, Andrey Pavlenko wrote:\n>>\n>>> I'm developing a remote helper which uses the fast-import stream for\n>>> fetching. When I perform cloning git prints error message - \"fatal:\n>>> 'refs/heads/master' - not a valid ref\", however the clonning completes\n>>> normally. Each my fast-import commit command starts with \"commit\n>>> refs/heads/master\" header.\n>>>\n>>> What does this error message mean and how can I fix it?\n>>\n>> What version of git are you using? The only command which produces that\n>> exact message is \"git show-ref\", and it is not called by current\n>> versions of the cloning process (but it used to be in old versions).\n>>\n>> -Peff\n"}]}