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

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

From
Ronnie Sahlberg <sahlberg@google.com>
Date
Aug 8, 2014, 16:15 UTC
Message-ID
<CAL=YDWn1uNvdKxdEg_D-=1-wvAm1PzbSM0N_G6_KUbuc7X7-Rw@mail.gmail.com>
In-Reply-To
<1406841910-3278-1-git-send-email-sahlberg@google.com>
Ping ?
On Thu, Jul 31, 2014 at 2:25 PM, Ronnie Sahlberg <sahlberg@google.com> wrote:
Show 44 quoted lines
> 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
>
Previous: Ronnie Sahlberg
Message 7 of 7 in “ref-transactions-req-strbuf-err”
  1. 0/5 ref-transactions-req-strbuf-errRonnie Sahlberg, Jul 31, 2014
  2. 1/5 refs.c: replace the onerr argument in update_ref with a strbuf errRonnie Sahlberg, Jul 31, 2014
  3. 2/5 refs.c: make add_packed_ref return an error instead of calling dieRonnie Sahlberg, Jul 31, 2014
  4. 3/5 refs.c: make lock_packed_refs take an err argumentRonnie Sahlberg, Jul 31, 2014
  5. 4/5 refs.c: add an err argument to commit_packed_refsRonnie Sahlberg, Jul 31, 2014
  6. 5/5 refs.c: add an err argument to pack_refsRonnie 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.