]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ps/remove-packfile-store-get-packs' into ps/packed-git-in-object-store
authorJunio C Hamano <gitster@pobox.com>
Tue, 28 Oct 2025 17:00:56 +0000 (10:00 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 Oct 2025 17:00:56 +0000 (10:00 -0700)
* ps/remove-packfile-store-get-packs: (55 commits)
  packfile: rename `packfile_store_get_all_packs()`
  packfile: introduce macro to iterate through packs
  packfile: drop `packfile_store_get_packs()`
  builtin/grep: simplify how we preload packs
  builtin/gc: convert to use `packfile_store_get_all_packs()`
  object-name: convert to use `packfile_store_get_all_packs()`
  builtin/repack.c: clean up unused `#include`s
  repack: move `write_cruft_pack()` out of the builtin
  repack: move `write_filtered_pack()` out of the builtin
  repack: move `pack_kept_objects` to `struct pack_objects_args`
  repack: move `finish_pack_objects_cmd()` out of the builtin
  builtin/repack.c: pass `write_pack_opts` to `finish_pack_objects_cmd()`
  repack: extract `write_pack_opts_is_local()`
  repack: move `find_pack_prefix()` out of the builtin
  builtin/repack.c: use `write_pack_opts` within `write_cruft_pack()`
  builtin/repack.c: introduce `struct write_pack_opts`
  repack: 'write_midx_included_packs' API from the builtin
  builtin/repack.c: inline packs within `write_midx_included_packs()`
  builtin/repack.c: pass `repack_write_midx_opts` to `midx_included_packs`
  builtin/repack.c: inline `remove_redundant_bitmaps()`
  ...

1  2 
Makefile
builtin/cat-file.c
builtin/fast-import.c
builtin/pack-objects.c
builtin/pack-redundant.c
meson.build
pack-objects.c

diff --cc Makefile
index 1919d35bf3fb5f7e6d80dd7f2c7ea5d949c66602,e3c4bf1b4aaaaf58740ee6716d11a70505b921c4..c0dbb3a90669e7caee43036aed03e43a027d90e8
+++ b/Makefile
@@@ -1245,21 -1135,13 +1245,27 @@@ LIB_OBJS += refs/iterator.
  LIB_OBJS += refs/packed-backend.o
  LIB_OBJS += refs/ref-cache.o
  LIB_OBJS += refspec.o
 +LIB_OBJS += reftable/basics.o
 +LIB_OBJS += reftable/block.o
 +LIB_OBJS += reftable/blocksource.o
 +LIB_OBJS += reftable/error.o
 +LIB_OBJS += reftable/fsck.o
 +LIB_OBJS += reftable/iter.o
 +LIB_OBJS += reftable/merged.o
 +LIB_OBJS += reftable/pq.o
 +LIB_OBJS += reftable/record.o
 +LIB_OBJS += reftable/stack.o
 +LIB_OBJS += reftable/system.o
 +LIB_OBJS += reftable/table.o
 +LIB_OBJS += reftable/tree.o
 +LIB_OBJS += reftable/writer.o
  LIB_OBJS += remote.o
+ LIB_OBJS += repack.o
+ LIB_OBJS += repack-cruft.o
+ LIB_OBJS += repack-filtered.o
+ LIB_OBJS += repack-geometry.o
+ LIB_OBJS += repack-midx.o
+ LIB_OBJS += repack-promisor.o
  LIB_OBJS += replace-object.o
  LIB_OBJS += repo-settings.o
  LIB_OBJS += repository.o
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc meson.build
Simple merge
diff --cc pack-objects.c
Simple merge