From: Patrick Steinhardt Date: Tue, 13 Oct 2026 07:36:24 GMT Subject: [PATCH 0/5] odb/files: cleanups and improvements for alternates Message-ID: <20261013-pks-odb-files-alternates-cleanups-v1-0-b7030ff2b26f@pks.im> Hi, this patch series contains a couple of follow-up cleanups and improvements that are now possible after having migrated alternates into the "files" backend. The series is built on top of 6de20f6092 (The 4th batch, 2026-10-06) with ps/odb-files-alternates at 0ba59c8453 (odb/source: drop `read_alternates` callback, 2026-10-08) merged into it. Thanks! Patrick --- Patrick Steinhardt (5): odb/source-files: fix performance when reading objects with alternates odb/source-files: fix performance when streaming objects with alternates odb/source-files: make the second read an implementation detail odb: remove read loop for found objects odb/source: drop `local` flag midx.c | 2 +- odb.c | 61 +++++++++++++++++++-------------------------------- odb.h | 12 ---------- odb/source-files.c | 26 +++++++++++++++++----- odb/source-inmemory.c | 10 ++++++--- odb/source-loose.c | 17 ++------------ odb/source-loose.h | 3 +-- odb/source-packed.c | 20 +++++------------ odb/source-packed.h | 7 ++++++ odb/source.c | 4 +--- odb/source.h | 20 +---------------- repack.c | 2 +- 12 files changed, 71 insertions(+), 113 deletions(-) --- base-commit: ea99757de7d4ef6c7727431bfd7b6726614102e0 change-id: 20261006-pks-odb-files-alternates-cleanups-11f686cc4942