[PATCH 0/5] ref-transactions-send-pack
- From
Ronnie Sahlberg <sahlberg@google.com>
- Date
- Jul 31, 2014, 21:39 UTC
- Message-ID
- <1406842751-6657-1-git-send-email-sahlberg@google.com>
List,
This small patch series adds atomic-push support to for pushes. By default git will use the old style non-atomic updates for pushes, as not to cause disruption in client scripts that may depend on that behaviour.
Command line arguments are introduced to allow the client side to request/ negotiate atomic pushes if the remote repo supports it. There is also a new configuration variable where a repo can set that it wants all pushes to become atomic whether the client requests it or not.
This patch series is called ref-transactions-send-pack and depends on/is built ontop of the series called ref-transactions-req-strbuf-err
Ronnie Sahlberg (5):
receive-pack.c: add protocol support to negotiate atomic-push
send-pack.c: add an --atomic-push command line argument
receive-pack.c: use a single transaction when atomic-push is
negotiated
receive-pack.c: add receive.atomicpush configuration option
push.c: add an --atomic-push argumentDocumentation/config.txt | 5 ++++ Documentation/git-push.txt | 7 ++++- Documentation/git-send-pack.txt | 7 ++++- builtin/push.c | 2 ++ builtin/receive-pack.c | 66 +++++++++++++++++++++++++++++++++-------- builtin/send-pack.c | 6 +++- send-pack.c | 18 +++++++++-- send-pack.h | 1 + transport.c | 1 + transport.h | 1 + 10 files changed, 96 insertions(+), 18 deletions(-)
-- 2.0.1.528.gd0e7a84