Re: [PATCH 3/3] clone: always fetch remote HEAD
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Jun 3, 2011, 05:36 UTC
- Message-ID
- <BANLkTim03_3DLdDkc3QgFrcUa0Fqhhqnbw@mail.gmail.com>
- In-Reply-To
- <20110603051805.GC1008@sigill.intra.peff.net>
Heya,
On Fri, Jun 3, 2011 at 00:18, Jeff King <peff@peff.net> wrote:
Show 5 quoted lines
> 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,