Re: Clone fails on a repo with too many heads/tags
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Mar 19, 2012, 01:30 UTC
- Message-ID
- <CACsJy8BNT-dY+wDONY_TgLnv0135RZ-47BEVMzX6c3ddH=83Zw@mail.gmail.com>
- In-Reply-To
- <20120318190659.GA24829@sigill.intra.peff.net>
On Mon, Mar 19, 2012 at 2:07 AM, Jeff King <peff@peff.net> wrote:
Show 5 quoted lines
> I don't think that will work, as stateless-rpc fetch-pack already uses > stdin to receive the list of advertised refs from the remote. Nor would > you want to have multiple invocations of fetch-pack, since that would > mean multiple http requests and multiple pack responses (which could not > delta between themselves).
remote-curl functions as middle man between http client and fetch-pack. Can we just send ref list over fetch-pack.stdin first, followed by maybe empty line, then normal stuff that remote-curl feeds fetch-pack?
-- Duy