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

[PATCH v3 0/7] ref-transaction-send-pack

From
Ronnie Sahlberg <sahlberg@google.com>
Date
Nov 7, 2014, 19:41 UTC
Message-ID
<1415389321-10386-1-git-send-email-sahlberg@google.com>
List,

This series has been posted before but is now rebased on the previous ref-transaction-rename series that are against next. This series can also be found at : https://github.com/rsahlberg/git/tree/ref-transactions-send-pack

This series finishes the transaction work to provide atomic pushes. With this series we can now perform atomic pushes to a repository.

Version 2:
- Reordered the capabilities we send so that agent= remains the last
  capability listed.
- Reworded the paragraph for atomic push in git-send-pack.txt
- Dropped the patch for receive.preferatomicpush
Version 3:
- Fix a typo in a commit message.
Ronnie Sahlberg (7):
  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
  push.c: add an --atomic-push argument
  t5543-atomic-push.sh: add basic tests for atomic pushes
  refs.c: add an err argument to create_reflog
  refs.c: add an err argument to create_symref
 Documentation/git-push.txt                        |   7 +-
 Documentation/git-send-pack.txt                   |   7 +-
 Documentation/technical/protocol-capabilities.txt |  12 ++-
 builtin/branch.c                                  |   7 +-
 builtin/checkout.c                                |  21 +++--
 builtin/clone.c                                   |  15 +++-
 builtin/init-db.c                                 |   8 +-
 builtin/notes.c                                   |   7 +-
 builtin/push.c                                    |   2 +
 builtin/receive-pack.c                            |  79 +++++++++++++----
 builtin/remote.c                                  |  26 ++++--
 builtin/send-pack.c                               |   6 +-
 builtin/symbolic-ref.c                            |   6 +-
 cache.h                                           |   1 -
 refs.c                                            |  93 ++++++++++----------
 refs.h                                            |   5 +-
 remote.h                                          |   3 +-
 send-pack.c                                       |  45 ++++++++--
 send-pack.h                                       |   1 +
 t/t5543-atomic-push.sh                            | 101 ++++++++++++++++++++++
 transport.c                                       |   5 ++
 transport.h                                       |   1 +
 22 files changed, 358 insertions(+), 100 deletions(-)
 create mode 100755 t/t5543-atomic-push.sh
-- 
2.1.0.rc2.206.gedb03e5
Next: Ronnie Sahlberg
Message 1 of 8 in “ref-transaction-send-pack”
  1. 0/7 ref-transaction-send-packRonnie Sahlberg, Nov 7, 2014
  2. 1/7 receive-pack.c: add protocol support to negotiate atomic-pushRonnie Sahlberg, Nov 7, 2014
  3. 2/7 send-pack.c: add an --atomic-push command line argumentRonnie Sahlberg, Nov 7, 2014
  4. 3/7 receive-pack.c: use a single transaction when atomic-push is negotiatedRonnie Sahlberg, Nov 7, 2014
  5. 4/7 push.c: add an --atomic-push argumentRonnie Sahlberg, Nov 7, 2014
  6. 5/7 t5543-atomic-push.sh: add basic tests for atomic pushesRonnie Sahlberg, Nov 7, 2014
  7. 6/7 refs.c: add an err argument to create_reflogRonnie Sahlberg, Nov 7, 2014
  8. 7/7 refs.c: add an err argument to create_symrefRonnie Sahlberg, Nov 7, 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.