Re: [PATCH v2] upload-pack: allow shallow fetching from a read-only repository
Duy Nguyen <pclouds@gmail.com> writes:
Show 7 quoted lines
> 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.