]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'ps/odb-source-packed' into jch
authorJunio C Hamano <gitster@pobox.com>
Wed, 24 Jun 2026 20:21:10 +0000 (13:21 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 24 Jun 2026 20:21:10 +0000 (13:21 -0700)
commit4793cda5cbea9701b13a780672f8a78ad42bb772
treeab1ffe9ece1bb553d481e2bcbc39665146756094
parent4fd32a39fe002020d498e6d264f0c14a47ceae01
parent1bba3c035d2283456edcb159e965b8be2015e114
Merge branch 'ps/odb-source-packed' into jch

The packed object source has been refactored into a proper struct
odb_source.

* ps/odb-source-packed:
  odb/source-packed: drop pointer to "files" parent source
  midx: refactor interfaces to work on "packed" source
  odb/source-packed: stub out remaining functions
  odb/source-packed: wire up `freshen_object()` callback
  odb/source-packed: wire up `find_abbrev_len()` callback
  odb/source-packed: wire up `count_objects()` callback
  odb/source-packed: wire up `for_each_object()` callback
  odb/source-packed: wire up `read_object_stream()` callback
  odb/source-packed: wire up `read_object_info()` callback
  packfile: use higher-level interface to implement `has_object_pack()`
  odb/source-packed: wire up `reprepare()` callback
  odb/source-packed: wire up `close()` callback
  odb/source-packed: start converting to a proper `struct odb_source`
  odb/source-packed: store pointer to "files" instead of generic source
  packfile: move packed source into "odb/" subsystem
  packfile: split out packfile list logic
  packfile: rename `struct packfile_store` to `odb_source_packed`
12 files changed:
Makefile
builtin/cat-file.c
builtin/grep.c
builtin/pack-objects.c
builtin/repack.c
commit-graph.c
midx-write.c
odb/source-packed.h
odb/source.h
pack-bitmap.c
packfile.c
packfile.h