summaryrefslogtreecommitdiff
path: root/midx.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-23Merge branch 'ps/missing-btmp-fix'Junio C Hamano1-3/+4
2024-04-15pack-bitmap: gracefully handle missing BTMP chunksPatrick Steinhardt1-3/+4
2024-04-01midx-write: move writing-related functions from midx.cTaylor Blau1-1539/+14
2024-03-25midx: use strvec_pushf() for pack-objects base nameRené Scharfe1-6/+1
2023-12-14midx: implement `midx_preferred_pack()`Taylor Blau1-0/+20
2023-12-14midx: implement `midx_locate_pack()`Taylor Blau1-2/+11
2023-12-14midx: implement `BTMP` chunkTaylor Blau1-3/+72
2023-12-14midx: factor out `fill_pack_info()`Taylor Blau1-18/+20
2023-12-14pack-objects: free packing_data in more placesTaylor Blau1-0/+5
2023-11-09midx: check consistency of fanout tableJeff King1-9/+11
2023-10-09midx: check size of revindex chunkJeff King1-1/+2
2023-10-09midx: bounds-check large offset chunkJeff King1-3/+5
2023-10-09midx: check size of object offset chunkJeff King1-1/+14
2023-10-09midx: enforce chunk alignment on readingJeff King1-1/+2
2023-10-09midx: check size of pack names chunkJeff King1-2/+9
2023-10-09midx: check size of oid lookup chunkJeff King1-3/+15
2023-10-09midx: stop ignoring malformed oid fanout chunkJeff King1-8/+8
2023-10-09chunk-format: note that pair_chunk() is unsafeJeff King1-5/+5
2023-07-25Merge branch 'tb/object-access-overflow-protection'Junio C Hamano1-18/+24
2023-07-14midx.c: prevent overflow in `fill_included_packs_batch()`Taylor Blau1-2/+2
2023-07-14midx.c: prevent overflow in `write_midx_internal()`Taylor Blau1-4/+5
2023-07-14midx.c: store `nr`, `alloc` variables as `size_t`'sTaylor Blau1-7/+9
2023-07-14midx.c: prevent overflow in `nth_midxed_offset()`Taylor Blau1-1/+2
2023-07-14midx.c: prevent overflow in `nth_midxed_object_oid()`Taylor Blau1-1/+1
2023-07-14midx.c: use `size_t`'s for fanout nr and allocTaylor Blau1-3/+5
2023-07-05git-compat-util: move alloc macros to git-compat-util.hCalvin Wan1-1/+0
2023-06-21object-store-ll.h: split this header out of object-store.hElijah Newren1-1/+1
2023-05-09Merge branch 'en/header-split-cache-h-part-2'Junio C Hamano1-1/+1
2023-04-25Merge branch 'ps/fix-geom-repack-with-alternates'Junio C Hamano1-3/+3
2023-04-24treewide: remove cache.h inclusion due to previous changesElijah Newren1-1/+1
2023-04-14midx: fix segfault with no packs and invalid preferred packPatrick Steinhardt1-3/+3
2023-04-11object-file.h: move declarations for object-file.c functions from cache.hElijah Newren1-0/+1
2023-03-21csum-file.h: remove unnecessary inclusion of cache.hElijah Newren1-1/+1
2023-03-21abspath.h: move absolute path functions from cache.hElijah Newren1-0/+1
2023-03-21treewide: be explicit about dependence on gettext.hElijah Newren1-0/+1
2023-03-17Merge branch 'jk/unused-post-2.39-part2'Junio C Hamano1-1/+1
2023-02-24for_each_object: mark unused callback parametersJeff King1-1/+1
2023-02-23cache.h: remove dependence on hex.h; make other files include it explicitlyElijah Newren1-0/+1
2023-02-23alloc.h: move ALLOC_GROW() functions from cache.hElijah Newren1-1/+2
2022-10-27Merge branch 'tb/midx-bitmap-selection-fix'Junio C Hamano1-1/+33
2022-10-13midx.c: instrument MIDX and bitmap generation with trace2 regionsTaylor Blau1-0/+28
2022-10-13midx.c: consider annotated tags during bitmap selectionTaylor Blau1-0/+4
2022-10-13midx.c: fix whitespace typoTaylor Blau1-1/+1
2022-09-21midx.c: avoid cruft packs with non-zero `repack --batch-size`Taylor Blau1-0/+2
2022-09-21midx.c: remove unnecessary loop conditionTaylor Blau1-1/+1
2022-09-21midx.c: replace `xcalloc()` with `CALLOC_ARRAY()`Taylor Blau1-1/+3
2022-09-21midx.c: avoid cruft packs with `repack --batch-size=0`Taylor Blau1-0/+2
2022-09-21midx.c: prevent `expire` from removing the cruft packTaylor Blau1-1/+1
2022-09-05Merge branch 'ac/bitmap-lookup-table'Junio C Hamano1-0/+3
2022-09-05Merge branch 'tb/midx-with-changing-preferred-pack-fix'Junio C Hamano1-45/+94