[PATCH 0/5] ref-transactions-req-strbuf-err
- From
Ronnie Sahlberg <sahlberg@google.com>
- Date
- Jul 31, 2014, 21:25 UTC
- Message-ID
- <1406841910-3278-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.523.g70700c9