From: Patrick Steinhardt Date: Thu, 05 Nov 2026 15:02:01 GMT Subject: [PATCH 0/5] Improvements for storage format handling Message-ID: <20261105-pks-storage-format-improvements-v1-0-870bb4212518@pks.im> Hi, this patch series includes a couple of improvements for how we handle ref and object storage formats. Most importantly, this series allows us to run tests with a different object storage backend via `GIT_TEST_DEFAULT_OBJECT_STORAGE_FORMAT=`. As we don't have an alternative backend, I also introduce the ability to specify a default object (and ref) storage format that carries a payload so that you can run all tests with "files://objdir", for example. That surfaces a bunch of tests that assume objects exist in ".git/objects". Overall it's a surprisingly small number of test failures, only 1105 out of 35000 tests fail. Fixing those is not part of this patch series, but we'll start upstreaming fixes once this lands. Such tests will either have to be adapted to use plumbing commands, or they'll need to be tagged with a prerequisite. It's going to be a bunch of work, but it's basically preparing for the introduction of alternative backends already. The series is built on top of 0ffa3e35c7c (The 15th batch, 2026-11-04) with ps/odb-object-storage-extension at 87a55d790ca (builtin/submodule: propagate "--object-storage-format=", 2026-10-27) merged into it. Thanks! Patrick --- Patrick Steinhardt (5): refs: create leading directories odb/files: create leading directories setup: allow speciyfing payloads with default storage formats builtin/rev-parse: print payload for the ref storage format t: allow testing with a non-default object storage foramt builtin/rev-parse.c | 6 +++++- odb/source-files.c | 1 + refs/files-backend.c | 1 + refs/reftable-backend.c | 1 + setup.c | 24 ++++++++++++++++----- t/t0001-init.sh | 57 ++++++++++++++++++++++++++++++++++++++++++++++--- t/t1423-ref-backend.sh | 24 +++++++++++++++++++++ t/t1500-rev-parse.sh | 9 ++++++++ t/test-lib.sh | 4 ++++ 9 files changed, 118 insertions(+), 9 deletions(-) --- base-commit: df904e7114cda6ca4ebf514115835a2dcd2f2b64 change-id: 20261105-pks-storage-format-improvements-7b716599bada