Git development
 help / color / mirror / Atom feed
* [PATCH 0/5] Improvements for storage format handling
@ 2026-11-05 15:02 Patrick Steinhardt
  2026-11-05 15:02 ` [PATCH 1/5] refs: create leading directories Patrick Steinhardt
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Patrick Steinhardt @ 2026-11-05 15:02 UTC (permalink / raw)
  To: git

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2026-11-06 18:59 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-05 15:02 [PATCH 0/5] Improvements for storage format handling Patrick Steinhardt
2026-11-05 15:02 ` [PATCH 1/5] refs: create leading directories Patrick Steinhardt
2026-11-06 10:37   ` Karthik Nayak
2026-11-06 11:01     ` Patrick Steinhardt
2026-11-05 15:02 ` [PATCH 2/5] odb/files: " Patrick Steinhardt
2026-11-05 15:02 ` [PATCH 3/5] setup: allow speciyfing payloads with default storage formats Patrick Steinhardt
2026-11-05 15:02 ` [PATCH 4/5] builtin/rev-parse: print payload for the ref storage format Patrick Steinhardt
2026-11-06 10:40   ` Karthik Nayak
2026-11-05 15:02 ` [PATCH 5/5] t: allow testing with a non-default object storage foramt Patrick Steinhardt
2026-11-06 18:59   ` Junio C Hamano
2026-11-06 10:41 ` [PATCH 0/5] Improvements for storage format handling Karthik Nayak
2026-11-06 11:02   ` Patrick Steinhardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox