Re: [PATCH 02/11] Resumable clone: add prime-clone endpoints

2016-09-27 Thread Kevin Wern
On Mon, Sep 19, 2016 at 08:15:00PM +0700, Duy Nguyen wrote: > We also have an exception for select_getanyfile() below. I think it's > time we add a function callback in struct rpc_service to run each > service the way they want. Then prime-clone won't need an exception > (neither does

Re: [PATCH 02/11] Resumable clone: add prime-clone endpoints

2016-09-19 Thread Duy Nguyen
On Fri, Sep 16, 2016 at 7:12 AM, Kevin Wern wrote: > static struct daemon_service daemon_service[] = { > { "upload-archive", "uploadarch", upload_archive, 0, 1 }, > { "upload-pack", "uploadpack", upload_pack, 1, 1 }, > { "receive-pack",

[PATCH 02/11] Resumable clone: add prime-clone endpoints

2016-09-15 Thread Kevin Wern
Add logic to serve git-prime-clone to git and http clients. Do not pass --stateless-rpc and --advertise-refs options to prime-clone. It is inherently stateless and an 'advertisement'. Signed-off-by: Kevin Wern --- Documentation/git-daemon.txt | 7 +++