Re: [PATCH 1/8] receive-pack.c: add protocol support to negotiate atomic-push

2014-10-30 Thread Junio C Hamano
Ronnie Sahlberg sahlb...@google.com writes: @@ -337,6 +341,8 @@ int send_pack(struct send_pack_args *args, strbuf_addstr(cap_buf, quiet); if (agent_supported) strbuf_addf(cap_buf, agent=%s, git_user_agent_sanitized()); + if (atomic_push) +

Re: [PATCH 1/8] receive-pack.c: add protocol support to negotiate atomic-push

2014-10-30 Thread Ronnie Sahlberg
On Thu, Oct 30, 2014 at 12:59 PM, Junio C Hamano gits...@pobox.com wrote: Ronnie Sahlberg sahlb...@google.com writes: @@ -337,6 +341,8 @@ int send_pack(struct send_pack_args *args, strbuf_addstr(cap_buf, quiet); if (agent_supported) strbuf_addf(cap_buf,

[PATCH 1/8] receive-pack.c: add protocol support to negotiate atomic-push

2014-10-21 Thread Ronnie Sahlberg
This adds support to the protocol between send-pack and receive-pack to * allow receive-pack to inform the client that it has atomic push capability * allow send-pack to request atomic push back. There is currently no setting in send-pack to actually request that atomic pushes are to be used yet.