aboutsummaryrefslogtreecommitdiffstats
path: root/midx-write.c
AgeCommit message (Expand)AuthorFilesLines
2025-11-04refs: expose peeled object ID via the iteratorPatrick Steinhardt1-1/+1
2025-11-04refs: introduce wrapper struct for `each_ref_fn`Patrick Steinhardt1-9/+8
2025-09-15Merge branch 'ds/midx-write-fixes'Junio C Hamano1-68/+63
2025-09-12Merge branch 'ps/object-store-midx-dedup-info'Junio C Hamano1-63/+53
2025-09-05midx-write: simplify error casesDerrick Stolee1-17/+9
2025-09-05midx-write: reenable signed comparison errorsDerrick Stolee1-17/+18
2025-09-05midx-write: use uint32_t for preferred_pack_idxDerrick Stolee1-11/+15
2025-09-05midx-write: use cleanup when incremental midx failsDerrick Stolee1-6/+12
2025-09-05midx-write: put failing response value backDerrick Stolee1-0/+1
2025-09-05midx-write: only load initialized packsDerrick Stolee1-27/+19
2025-08-11midx: compute paths via their sourcePatrick Steinhardt1-28/+24
2025-08-11midx: stop duplicating info redundant with its owning sourcePatrick Steinhardt1-4/+5
2025-08-11midx: write multi-pack indices via their sourcePatrick Steinhardt1-36/+31
2025-08-11midx: drop redundant `struct repository` parameterPatrick Steinhardt1-9/+7
2025-08-11odb: allow `odb_find_source()` to failPatrick Steinhardt1-1/+1
2025-08-05Merge branch 'ps/object-file-wo-the-repository'Junio C Hamano1-1/+1
2025-07-16object-file: get rid of `the_repository` in `finalize_object_file()`Patrick Steinhardt1-1/+1
2025-07-15packfile: refactor `get_multi_pack_index()` to work on sourcesPatrick Steinhardt1-20/+2
2025-07-01odb: get rid of `the_repository` in `find_odb()`Patrick Steinhardt1-1/+1
2025-05-22midx: avoid negative array indexPhillip Wood1-2/+2
2025-05-22midx repack: avoid potential integer overflow on 64 bit systemsPhillip Wood1-2/+8
2025-05-22midx repack: avoid integer overflow on 32 bit systemsPhillip Wood1-4/+8
2025-04-24Merge branch 'ps/object-file-cleanup'Junio C Hamano1-1/+1
2025-04-15Merge branch 'ps/object-wo-the-repository'Junio C Hamano1-5/+7
2025-04-15object-file: move `safe_create_leading_directories()` into "path.c"Patrick Steinhardt1-1/+1
2025-03-21midx: implement writing incremental MIDX bitmapsTaylor Blau1-19/+38
2025-03-10pack-write: stop depending on `the_repository` and `the_hash_algo`Patrick Steinhardt1-1/+1
2025-03-10object: stop depending on `the_repository`Patrick Steinhardt1-2/+2
2025-03-10csum-file: stop depending on `the_repository`Patrick Steinhardt1-2/+4
2025-02-28path: adjust last remaining users of `the_repository`Patrick Steinhardt1-1/+1
2025-02-03Merge branch 'kn/pack-write-with-reduced-globals'Junio C Hamano1-2/+2
2025-01-21pack-write: pass hash_algo to `write_rev_file()`Karthik Nayak1-2/+2
2024-12-23Merge branch 'ps/build-sign-compare'Junio C Hamano1-0/+2
2024-12-18progress: stop using `the_repository`Patrick Steinhardt1-3/+8
2024-12-18Merge branch 'ps/build-sign-compare' into ps/the-repositoryJunio C Hamano1-0/+2
2024-12-06global: mark code units that generate warnings with `-Wsign-compare`Patrick Steinhardt1-0/+1
2024-12-04midx: pass down `hash_algo` to functions using global variablesKarthik Nayak1-11/+11
2024-12-04midx-write: pass down repository to `write_midx_file[_only]`Karthik Nayak1-13/+9
2024-12-04write-midx: add repository field to `write_midx_context`Karthik Nayak1-18/+20
2024-12-04midx-write: use `revs->repo` inside `read_refs_snapshot`Karthik Nayak1-1/+2
2024-12-04midx-write: pass down repository to static functionsKarthik Nayak1-26/+31
2024-12-04packfile: add repository to struct `packed_git`Karthik Nayak1-1/+1
2024-09-30pack-write: fix return parameter of `write_rev_file_order()`Patrick Steinhardt1-1/+2
2024-09-30midx-write: fix leaking bufferPatrick Steinhardt1-0/+2
2024-09-03Merge branch 'ps/leakfixes-part-5'Junio C Hamano1-12/+12
2024-08-26Merge branch 'tb/pseudo-merge-bitmap-fixes'Junio C Hamano1-6/+4
2024-08-22midx-write: fix leaking hashfile on error casesPatrick Steinhardt1-12/+12
2024-08-19Merge branch 'tb/incremental-midx-part-1'Junio C Hamano1-49/+275
2024-08-15pack-bitmap: drop redundant args from `bitmap_writer_finish()`Taylor Blau1-2/+1
2024-08-15pack-bitmap: drop redundant args from `bitmap_writer_build()`Taylor Blau1-1/+1
2024-08-15pack-bitmap: drop redundant args from `bitmap_writer_build_type_index()`Taylor Blau1-2/+1
2024-08-15pack-bitmap: initialize `bitmap_writer_init()` with packing_dataTaylor Blau1-1/+1
2024-08-09refs: add referent to each_ref_fnJohn Cai1-1/+1
2024-08-06midx: implement support for writing incremental MIDX chainsTaylor Blau1-45/+267
2024-08-06midx: teach `midx_fanout_add_midx_fanout()` about incremental MIDXsTaylor Blau1-4/+8
2024-07-23Merge branch 'ds/midx-write-repack-fix'Junio C Hamano1-9/+9
2024-07-19midx-write: revert use of --stdin-packsDerrick Stolee1-9/+9
2024-07-02Merge branch 'ps/use-the-repository'Junio C Hamano1-0/+2
2024-06-24Merge branch 'tb/pseudo-merge-reachability-bitmap'Junio C Hamano1-1/+1
2024-06-14global: introduce `USE_THE_REPOSITORY_VARIABLE` macroPatrick Steinhardt1-0/+2
2024-06-11midx-write.c: do not read existing MIDX with `packs_to_include`Taylor Blau1-11/+31
2024-06-07Merge branch 'tb/midx-write-cleanup'Junio C Hamano1-82/+79
2024-05-30Merge branch 'ps/refs-without-the-repository-updates'Junio C Hamano1-1/+1
2024-05-30midx-write.c: support reading an existing MIDX with `packs_to_include`Taylor Blau1-31/+11
2024-05-30midx-write.c: extract `fill_packs_from_midx()`Taylor Blau1-30/+38
2024-05-30midx-write.c: extract `should_include_pack()`Taylor Blau1-20/+28
2024-05-30midx-write.c: pass `start_pack` to `compute_sorted_entries()`Taylor Blau1-4/+6
2024-05-30midx-write.c: reduce argument count for `get_sorted_entries()`Taylor Blau1-26/+19
2024-05-30midx-write.c: tolerate `--preferred-pack` without bitmapsTaylor Blau1-1/+7
2024-05-28Merge branch 'tb/pack-bitmap-write-cleanups'Junio C Hamano1-6/+11
2024-05-24pack-bitmap: move some initialization to `bitmap_writer_init()`Taylor Blau1-1/+1
2024-05-17refs: pass repo when peeling objectsPatrick Steinhardt1-1/+1
2024-05-15pack-bitmap: introduce `bitmap_writer_free()`Taylor Blau1-0/+1
2024-05-15pack-bitmap: drop unused `max_bitmaps` parameterTaylor Blau1-1/+1
2024-05-15pack-bitmap: avoid use of static `bitmap_writer`Taylor Blau1-6/+10
2024-05-07cocci: apply rules to rewrite callers of "refs" interfacesPatrick Steinhardt1-1/+2
2024-04-01midx-write.c: use `--stdin-packs` when repackingTaylor Blau1-9/+9
2024-04-01midx-write.c: check count of packs to repack after groupingTaylor Blau1-24/+20
2024-04-01midx-write.c: factor out common want_included_pack() routineTaylor Blau1-12/+20
2024-04-01midx-write: move writing-related functions from midx.cTaylor Blau1-0/+1521