Skip to content

ref-transactions-send-pack

Ronnie Sahlberg git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5receive-pack.c: add protocol support to negotiate atomic-pushbuiltin/receive-pack.c send-pack.c+14 -40 replies
2/5send-pack.c: add an --atomic-push command line argumentDocumentation/git-send-pack.txt builtin/send-pack.c send-pack.c +1 more+19 -30 replies
3/5receive-pack.c: use a single transaction when atomic-push is negotiatedbuiltin/receive-pack.c+44 -110 replies
4/5receive-pack.c: add receive.atomicpush configuration optionDocumentation/config.txt builtin/receive-pack.c+10 -00 replies
5/5push.c: add an --atomic-push argumentDocumentation/git-push.txt builtin/push.c transport.c +1 more+10 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] ref-transactions-send-pack

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 argument

 Documentation/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(-)
Signature · 1 line
2.0.1.528.gd0e7a84