Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
9fab7ec
Merge branch 'ps/packfile-store' into tb/incremental-midx-part-3.1
gitster Sep 29, 2025
20b4eed
builtin/repack.c: avoid "the_repository" in `cmd_repack()`
ttaylorr Oct 15, 2025
df3a499
builtin/repack.c: avoid "the_repository" in existing packs API
ttaylorr Oct 15, 2025
94d99de
builtin/repack.c: avoid "the_repository" when taking a ref snapshot
ttaylorr Oct 15, 2025
0301574
builtin/repack.c: avoid "the_repository" when removing packs
ttaylorr Oct 15, 2025
cae9e2a
builtin/repack.c: avoid "the_repository" when repacking promisor objects
ttaylorr Oct 15, 2025
3758052
builtin/repack.c: avoid "the_hash_algo" when deleting packs
ttaylorr Oct 15, 2025
9a53583
builtin/repack.c: avoid "the_hash_algo" in `write_oid()`
ttaylorr Oct 15, 2025
a7a5a60
builtin/repack: avoid "the_hash_algo" in `repack_promisor_objects()`
ttaylorr Oct 15, 2025
c660b0d
builtin/repack.c: avoid "the_hash_algo" in `finish_pack_objects_cmd()`
ttaylorr Oct 15, 2025
8a5d4bd
builtin/repack.c: avoid using `hash_to_hex()` in pack geometry
ttaylorr Oct 15, 2025
c7a1207
repack: introduce new compilation unit
ttaylorr Oct 15, 2025
19f6e8d
builtin/repack.c: pass both pack_objects args to repack_config
ttaylorr Oct 15, 2025
e35ef71
repack: move 'delta_base_offset' to 'struct pack_objects_args'
ttaylorr Oct 15, 2025
7005d25
repack: remove 'prepare_pack_objects' from the builtin
ttaylorr Oct 15, 2025
a0dcecb
builtin/repack.c: rename many 'struct existing_packs' functions
ttaylorr Oct 15, 2025
f905f49
repack: remove 'remove_redundant_pack' from the builtin
ttaylorr Oct 15, 2025
9574e8f
builtin/repack.c: pass "packdir" when removing packs
ttaylorr Oct 15, 2025
dab24e4
builtin/repack.c: avoid unnecessary numeric casts in existing_packs
ttaylorr Oct 15, 2025
7d1f442
repack: remove 'existing_packs' API from the builtin
ttaylorr Oct 15, 2025
2b72c12
builtin/repack.c: rename "struct generated_pack_data"
ttaylorr Oct 15, 2025
c042769
builtin/repack.c: factor out "generated_pack_install"
ttaylorr Oct 15, 2025
184f0ab
builtin/repack.c: pass "packtmp" to `generated_pack_populate()`
ttaylorr Oct 15, 2025
7036d13
builtin/repack.c: provide pack locations to `generated_pack_install()`
ttaylorr Oct 15, 2025
f053ab6
repack: remove 'generated_pack' API from the builtin
ttaylorr Oct 15, 2025
bebf941
builtin/repack.c: pass "packtmp" to `repack_promisor_objects()`
ttaylorr Oct 15, 2025
29e9355
builtin/repack.c: remove "repack_promisor_objects()" from the builtin
ttaylorr Oct 15, 2025
e05c2d5
builtin/repack.c: rename various pack_geometry functions
ttaylorr Oct 15, 2025
2a15a73
builtin/repack.c: pass 'pack_kept_objects' to `pack_geometry_init()`
ttaylorr Oct 15, 2025
b2ebeed
builtin/repack.c: pass 'packdir' to `pack_geometry_remove_redundant()`
ttaylorr Oct 15, 2025
62d3fa0
repack: remove pack_geometry API from the builtin
ttaylorr Oct 15, 2025
ccb7f82
builtin/repack.c: remove ref snapshotting from builtin
ttaylorr Oct 15, 2025
e6b0907
builtin/repack.c: extract opts struct for 'write_midx_included_packs()'
ttaylorr Oct 15, 2025
c3690c9
builtin/repack.c: use a string_list for 'midx_pack_names'
ttaylorr Oct 15, 2025
2fee63a
repack: keep track of MIDX pack names using existing_packs
ttaylorr Oct 15, 2025
42088e3
builtin/repack.c: reorder `remove_redundant_bitmaps()`
ttaylorr Oct 15, 2025
337baea
builtin/repack.c: inline `remove_redundant_bitmaps()`
ttaylorr Oct 15, 2025
f07263f
builtin/repack.c: pass `repack_write_midx_opts` to `midx_included_packs`
ttaylorr Oct 15, 2025
f177574
builtin/repack.c: inline packs within `write_midx_included_packs()`
ttaylorr Oct 15, 2025
6d05eb1
repack: 'write_midx_included_packs' API from the builtin
ttaylorr Oct 15, 2025
7a9c81a
builtin/repack.c: introduce `struct write_pack_opts`
ttaylorr Oct 15, 2025
3d2ac20
builtin/repack.c: use `write_pack_opts` within `write_cruft_pack()`
ttaylorr Oct 15, 2025
98fa0d5
repack: move `find_pack_prefix()` out of the builtin
ttaylorr Oct 15, 2025
2f79c79
repack: extract `write_pack_opts_is_local()`
ttaylorr Oct 15, 2025
80db3cd
builtin/repack.c: pass `write_pack_opts` to `finish_pack_objects_cmd()`
ttaylorr Oct 15, 2025
fa0787a
repack: move `finish_pack_objects_cmd()` out of the builtin
ttaylorr Oct 15, 2025
d278970
repack: move `pack_kept_objects` to `struct pack_objects_args`
ttaylorr Oct 15, 2025
7ac4231
repack: move `write_filtered_pack()` out of the builtin
ttaylorr Oct 15, 2025
09797bd
repack: move `write_cruft_pack()` out of the builtin
ttaylorr Oct 15, 2025
935ab44
builtin/repack.c: clean up unused `#include`s
ttaylorr Oct 15, 2025
c1b23bd
Merge branch 'tb/incremental-midx-part-3.1'
gitster Oct 29, 2025
dc70283
The 26th batch
gitster Oct 29, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Documentation/RelNotes/2.52.0.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ Performance, Internal Implementation, Development Support etc.
* CI improvements to handle the recent Rust integration better.
* The code in "git repack" machinery has been cleaned up to prepare
for incremental update of midx files.
Fixes since v2.51
-----------------
Expand Down
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1267,6 +1267,12 @@ 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
Expand Down
Loading