From: Junio C Hamano Date: Wed, 05 Mar 2014 19:50:41 GMT Subject: Re: [PATCH v2] upload-pack: allow shallow fetching from a read-only repository Message-ID: In-Reply-To: <20140305124304.GA27214@lanh> Duy Nguyen 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 " 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.