[PATCHv3 0/6] atomic pushes
- From
Stefan Beller <sbeller@google.com>
- Date
- Dec 17, 2014, 18:32 UTC
- Message-ID
- <1418841177-12152-1-git-send-email-sbeller@google.com>
- In-Reply-To
- <xmqqzjaobl0q.fsf@gitster.dls.corp.google.com>
This patch series adds a flag to git push to update the remote refs atomically.
This series applies on top of origin/mh/reflog-expire It can also be found at github[2].
Changes v3->v3 are annotated in each patch.
[2] https://github.com/stefanbeller/git/tree/atomic-push-v3
Ronnie Sahlberg (4):
receive-pack.c: add protocol support to negotiate atomic-push
send-pack.c: add --atomic command line argument
receive-pack.c: use a single transaction when atomic-push is
negotiated
push.c: add an --atomic argumentStefan Beller (2): send-pack: Rename ref_update_to_be_sent to check_to_send_update t5543-atomic-push.sh: add basic tests for atomic pushes
Documentation/git-push.txt | 7 +- Documentation/git-send-pack.txt | 7 +- Documentation/technical/protocol-capabilities.txt | 13 +- builtin/push.c | 2 + builtin/receive-pack.c | 89 +++++++++-- builtin/send-pack.c | 6 +- remote.h | 3 +- send-pack.c | 66 +++++++- send-pack.h | 3 +- t/t5543-atomic-push.sh | 178 ++++++++++++++++++++++ transport.c | 5 + transport.h | 1 + 12 files changed, 349 insertions(+), 31 deletions(-) create mode 100755 t/t5543-atomic-push.sh
-- 2.2.0.31.gad78000.dirty