Re: [PATCHv12 08/10] send-pack.c: add --atomic command line argument

2015-01-12 Thread Junio C Hamano
Stefan Beller sbel...@google.com writes: +static int atomic_push_failure(struct send_pack_args *args, +struct ref *remote_refs, +struct ref *failing_ref) +{ + struct ref *ref; + /* Mark other refs as failed */ + for (ref =

[PATCHv12 08/10] send-pack.c: add --atomic command line argument

2015-01-07 Thread Stefan Beller
From: Ronnie Sahlberg sahlb...@google.com This adds support to send-pack to negotiate and use atomic pushes iff the server supports it. Atomic pushes are activated by a new command line flag --atomic. In order to do this we also need to change the semantics for send_pack() slightly. The existing