Skip to content

pr-git-1012/hanwen/einval-sideband-v4

v5

 * address Ævar's comment; punt on clearing errno.

Han-Wen Nienhuys (6):
  refs: remove EINVAL errno output from specification of read_raw_ref_fn
  refs/files-backend: stop setting errno from lock_ref_oid_basic
  refs: make errno output explicit for read_raw_ref_fn
  refs: add failure_errno to refs_read_raw_ref() signature
  refs: explicitly return failure_errno from parse_loose_ref_contents
  refs: make errno output explicit for refs_resolve_ref_unsafe

 refs.c                | 60 ++++++++++++++++++++++++-----------
 refs/debug.c          |  4 +--
 refs/files-backend.c  | 73 ++++++++++++++++++++++---------------------
 refs/packed-backend.c | 15 ++++-----
 refs/refs-internal.h  | 40 ++++++++++++++++--------
 5 files changed, 116 insertions(+), 76 deletions(-)

base-commit: 670b81a890388c60b7032a4f5b879f2ece8c4558

Submitted-As: https://lore.kernel.org/git/pull.1012.v4.git.git.1625597757.gitgitgadget@gmail.com
In-Reply-To: https://lore.kernel.org/git/pull.1012.git.git.1619710329.gitgitgadget@gmail.com
In-Reply-To: https://lore.kernel.org/git/pull.1012.v2.git.git.1623329868.gitgitgadget@gmail.com
In-Reply-To: https://lore.kernel.org/git/pull.1012.v3.git.git.1625518566.gitgitgadget@gmail.com
Assets 2