Subject: Re: [PATCH v2] upload-pack: allow shallow fetching from a read-only repository

From: Junio C Hamano <[email-masked]>
Date: Wed, 05 Mar 2014 11:50:41 -0800

Duy Nguyen <[email-masked]> writes:

> If only there is a way to pass this info without a temporary
> file. Multiplexing it to pack-objects' stdin should work. It may be
> ugly, but it's probably the safest way.
>
> Wait it does not look that ugly. We can feed "--shallow <SHA1>" lines
> before sending want/have/edge objects. Something like this seems to
> work (just ran a few shallow-related tests, not the whole test suite)

Sounds like it is a much better approach to the issue.