From: Sverre Rabbelier Date: Fri, 03 Jun 2011 05:36:50 GMT Subject: Re: [PATCH 3/3] clone: always fetch remote HEAD Message-ID: In-Reply-To: <20110603051805.GC1008@sigill.intra.peff.net> Heya, On Fri, Jun 3, 2011 at 00:18, Jeff King wrote: > So I guess it doesn't like us asking for HEAD. But the fact that it > sends weird data to fast-import instead of saying "hey, HEAD doesn't > exist" has me confused. I'm not sure if this is something one should not > be doing with remote helpers, or if the testgit helper is simply buggy > or incomplete. Definitely the latter, quite possibly the former. I don't know if asking for "HEAD" makes much sense in a remote-helper context though. In Mercurial it does (e.g., tip), and in svn sort of, but I don't know about other vcs-es. Perhaps it should be guarded by a capability? -- Cheers,