Skip to content

ref-transactions-req-strbuf-err

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/5refs.c: replace the onerr argument in update_ref with a strbuf errbuiltin/checkout.c builtin/clone.c builtin/merge.c +9 more+81 -590 replies
2/5refs.c: make add_packed_ref return an error instead of calling dierefs.c+17 -60 replies
3/5refs.c: make lock_packed_refs take an err argumentrefs.c+13 -120 replies
4/5refs.c: add an err argument to commit_packed_refsrefs.c+50 -350 replies
5/5refs.c: add an err argument to pack_refsbuiltin/pack-refs.c refs.c refs.h+15 -90 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-req-strbuf-err

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(-)
Signature · 1 line
2.0.1.523.g70700c9