Subject: Re: Clone fails on a repo with too many heads/tags

From: Jakub Narebski <[email-masked]>
Date: Sun, 18 Mar 2012 23:07:42 +0100

Jeff King wrote:
[...]
> I think the only sane solution is to write the values to a temporary
> file, and do something like:
> 
>   git fetch-pack --stateless-rpc --refs-from=$tmpfile
> 
> Even if you put the tmpfile in $GIT_DIR, I don't think this should run
> afoul of any read-only repositories, since by definition you are
> fetching into the repository (but you could also just put it in /tmp).

Or

   git fetch-pack --stateless-rpc --refs-fd=$n

and there would be no need for temporary file.

-- 
Jakub Narebski
Poland