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

[PATCH 0/5] ref-transactions-req-strbuf-err

From
Ronnie Sahlberg <sahlberg@google.com>
Date
Aug 19, 2014, 16:16 UTC
Message-ID
<1408465024-23162-1-git-send-email-sahlberg@google.com>
List,

This is the next patch series in the ref transaction work. This patch series is called ref-transactions-req-strbuf-err and builds ontop of the series called ref-transactions-req-packed-refs which is origin/pu

This patch series mainly adds some nice strbuf arguments to some functions to
pass errors back to callers.
The only thing noteworthy is that we finally get to remove
-enum action_on_err {
-       UPDATE_REFS_MSG_ON_ERR,
-       UPDATE_REFS_DIE_ON_ERR,
-       UPDATE_REFS_QUIET_ON_ERR
-};
aside from that there is little/nothing much interesting in there.
Ronnie Sahlberg (5):
  refs.c: replace the onerr argument in update_ref with a strbuf err
  refs.c: make add_packed_ref return an error instead of calling die
  refs.c: make lock_packed_refs take an err argument
  refs.c: add an err argument to commit_packed_refs
  refs.c: add an err argument to pack_refs
 builtin/checkout.c   |   7 ++-
 builtin/clone.c      |  23 +++++---
 builtin/merge.c      |  20 ++++---
 builtin/notes.c      |  24 +++++----
 builtin/pack-refs.c  |   8 ++-
 builtin/reset.c      |  12 +++--
 builtin/update-ref.c |   7 ++-
 notes-cache.c        |   2 +-
 notes-utils.c        |   5 +-
 refs.c               | 148 +++++++++++++++++++++++++++++----------------------
 refs.h               |  13 ++---
 transport-helper.c   |   7 ++-
 transport.c          |   9 ++--
 13 files changed, 170 insertions(+), 115 deletions(-)
-- 
2.0.1.556.ge8f7cba.dirty
Next: Ronnie Sahlberg
Message 1 of 6 in “ref-transactions-req-strbuf-err”
  1. 0/5 ref-transactions-req-strbuf-errRonnie Sahlberg, Aug 19, 2014
  2. 1/5 refs.c: replace the onerr argument in update_ref with a strbuf errRonnie Sahlberg, Aug 19, 2014
  3. 2/5 refs.c: make add_packed_ref return an error instead of calling dieRonnie Sahlberg, Aug 19, 2014
  4. 3/5 refs.c: make lock_packed_refs take an err argumentRonnie Sahlberg, Aug 19, 2014
  5. 4/5 refs.c: add an err argument to commit_packed_refsRonnie Sahlberg, Aug 19, 2014
  6. 5/5 refs.c: add an err argument to pack_refsRonnie Sahlberg, Aug 19, 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.