summaryrefslogtreecommitdiffstats
path: root/midx.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* midx: implement `midx_preferred_pack()`Taylor Blau2023-12-141-0/+20
* midx: implement `midx_locate_pack()`Taylor Blau2023-12-141-2/+11
* midx: implement `BTMP` chunkTaylor Blau2023-12-141-3/+72
* midx: factor out `fill_pack_info()`Taylor Blau2023-12-141-18/+20
* pack-objects: free packing_data in more placesTaylor Blau2023-12-141-0/+5
* midx: check consistency of fanout tableJeff King2023-11-091-9/+11
* midx: check size of revindex chunkJeff King2023-10-101-1/+2
* midx: bounds-check large offset chunkJeff King2023-10-101-3/+5
* midx: check size of object offset chunkJeff King2023-10-101-1/+14
* midx: enforce chunk alignment on readingJeff King2023-10-101-1/+2
* midx: check size of pack names chunkJeff King2023-10-101-2/+9
* midx: check size of oid lookup chunkJeff King2023-10-101-3/+15
* midx: stop ignoring malformed oid fanout chunkJeff King2023-10-101-8/+8
* chunk-format: note that pair_chunk() is unsafeJeff King2023-10-101-5/+5
* Merge branch 'tb/object-access-overflow-protection'Junio C Hamano2023-07-251-18/+24
|\
| * midx.c: prevent overflow in `fill_included_packs_batch()`Taylor Blau2023-07-141-2/+2
| * midx.c: prevent overflow in `write_midx_internal()`Taylor Blau2023-07-141-4/+5
| * midx.c: store `nr`, `alloc` variables as `size_t`'sTaylor Blau2023-07-141-7/+9
| * midx.c: prevent overflow in `nth_midxed_offset()`Taylor Blau2023-07-141-1/+2
| * midx.c: prevent overflow in `nth_midxed_object_oid()`Taylor Blau2023-07-141-1/+1
| * midx.c: use `size_t`'s for fanout nr and allocTaylor Blau2023-07-141-3/+5
* | git-compat-util: move alloc macros to git-compat-util.hCalvin Wan2023-07-051-1/+0
* | object-store-ll.h: split this header out of object-store.hElijah Newren2023-06-211-1/+1
|/
* Merge branch 'en/header-split-cache-h-part-2'Junio C Hamano2023-05-101-1/+1
|\
| * treewide: remove cache.h inclusion due to previous changesElijah Newren2023-04-241-1/+1
* | Merge branch 'ps/fix-geom-repack-with-alternates'Junio C Hamano2023-04-251-3/+3
|\ \ | |/ |/|
| * midx: fix segfault with no packs and invalid preferred packPatrick Steinhardt2023-04-141-3/+3
* | object-file.h: move declarations for object-file.c functions from cache.hElijah Newren2023-04-111-0/+1
* | csum-file.h: remove unnecessary inclusion of cache.hElijah Newren2023-03-211-1/+1
* | abspath.h: move absolute path functions from cache.hElijah Newren2023-03-211-0/+1
* | treewide: be explicit about dependence on gettext.hElijah Newren2023-03-211-0/+1
* | Merge branch 'jk/unused-post-2.39-part2'Junio C Hamano2023-03-171-1/+1
|\ \
| * | for_each_object: mark unused callback parametersJeff King2023-02-241-1/+1
| |/
* | cache.h: remove dependence on hex.h; make other files include it explicitlyElijah Newren2023-02-241-0/+1
* | alloc.h: move ALLOC_GROW() functions from cache.hElijah Newren2023-02-241-1/+2
|/
* Merge branch 'tb/midx-bitmap-selection-fix'Junio C Hamano2022-10-271-1/+33
|\
| * midx.c: instrument MIDX and bitmap generation with trace2 regionsTaylor Blau2022-10-131-0/+28
| * midx.c: consider annotated tags during bitmap selectionTaylor Blau2022-10-131-0/+4
| * midx.c: fix whitespace typoTaylor Blau2022-10-131-1/+1
* | midx.c: avoid cruft packs with non-zero `repack --batch-size`Taylor Blau2022-09-211-0/+2
* | midx.c: remove unnecessary loop conditionTaylor Blau2022-09-211-1/+1
* | midx.c: replace `xcalloc()` with `CALLOC_ARRAY()`Taylor Blau2022-09-211-1/+3
* | midx.c: avoid cruft packs with `repack --batch-size=0`Taylor Blau2022-09-211-0/+2
* | midx.c: prevent `expire` from removing the cruft packTaylor Blau2022-09-211-1/+1
|/
* Merge branch 'ac/bitmap-lookup-table'Junio C Hamano2022-09-061-0/+3
|\
| * pack-bitmap-write: learn pack.writeBitmapLookupTable and add testsAbhradeep Chakraborty2022-08-261-0/+3
* | Merge branch 'tb/midx-with-changing-preferred-pack-fix'Junio C Hamano2022-09-061-46/+95
|\ \ | |/ |/|
| * midx.c: avoid adding preferred objects twiceTaylor Blau2022-08-221-2/+13
| * midx.c: include preferred pack correctly with existing MIDXTaylor Blau2022-08-221-7/+7
| * midx.c: extract `midx_fanout_add_pack_fanout()`Taylor Blau2022-08-221-15/+28