git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[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 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(-)
-- 
2.0.1.528.gd0e7a84
Next: Ronnie Sahlberg
Message 1 of 7 in “ref-transactions-send-pack”
  1. 0/5 ref-transactions-send-packRonnie Sahlberg, Jul 31, 2014
  2. 1/5 receive-pack.c: add protocol support to negotiate atomic-pushRonnie Sahlberg, Jul 31, 2014
  3. 2/5 send-pack.c: add an --atomic-push command line argumentRonnie Sahlberg, Jul 31, 2014
  4. 3/5 receive-pack.c: use a single transaction when atomic-push is negotiatedRonnie Sahlberg, Jul 31, 2014
  5. 4/5 receive-pack.c: add receive.atomicpush configuration optionRonnie Sahlberg, Jul 31, 2014
  6. 5/5 push.c: add an --atomic-push argumentRonnie Sahlberg, Jul 31, 2014
  7. Ronnie SahlbergAug 8, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.