]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'tb/incremental-midx-part-3.1' into seen
authorJunio C Hamano <gitster@pobox.com>
Sun, 5 Oct 2025 22:04:29 +0000 (15:04 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 5 Oct 2025 22:04:29 +0000 (15:04 -0700)
* tb/incremental-midx-part-3.1: (50 commits)
  SQUASH??? play well with other topics by preemptively including "repository.h"
  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()`
  builtin/repack.c: reorder `remove_redundant_bitmaps()`
  repack: keep track of MIDX pack names using existing_packs
  builtin/repack.c: use a string_list for 'midx_pack_names'
  builtin/repack.c: extract opts struct for 'write_midx_included_packs()'
  builtin/repack.c: remove ref snapshotting from builtin
  ...

1  2 
Makefile
meson.build

diff --cc Makefile
index c10b238084aec4e30386bceade5779cf00d93557,e3c4bf1b4aaaaf58740ee6716d11a70505b921c4..e215d9690edf0bbffbc83fe651a2251d853764de
+++ b/Makefile
@@@ -1249,8 -1136,13 +1249,14 @@@ LIB_OBJS += refs/packed-backend.
  LIB_OBJS += refs/ref-cache.o
  LIB_OBJS += refspec.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 += replay.o
  LIB_OBJS += repo-settings.o
  LIB_OBJS += repository.o
  LIB_OBJS += rerere.o
diff --cc meson.build
index d9f22ea56d2ffba2eebdb085c5ae053081de9862,39152b37ba10a646a7980f81de496aba716c61a2..e3c0477048822e162fc1e92f298422e15dd057fb
@@@ -463,8 -462,13 +463,14 @@@ libgit_sources = 
    'reftable/tree.c',
    'reftable/writer.c',
    'remote.c',
+   'repack.c',
+   'repack-cruft.c',
+   'repack-filtered.c',
+   'repack-geometry.c',
+   'repack-midx.c',
+   'repack-promisor.c',
    'replace-object.c',
 +  'replay.c',
    'repo-settings.c',
    'repository.c',
    'rerere.c',