diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-04-28 01:00:59 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-04-28 01:00:59 +0200 |
commit | 849c8b3dbf8e850020951e81a42df4dc0b1e5b5d (patch) | |
tree | 5b0187c4a8a834b0afb5674e5f623af7f8b2ca2c /packfile.c | |
parent | The thirteenth batch (diff) | |
parent | t: invert `GIT_TEST_WRITE_REV_INDEX` (diff) | |
download | git-849c8b3dbf8e850020951e81a42df4dc0b1e5b5d.tar.xz git-849c8b3dbf8e850020951e81a42df4dc0b1e5b5d.zip |
Merge branch 'tb/pack-revindex-on-disk'
The on-disk reverse index that allows mapping from the pack offset
to the object name for the object stored at the offset has been
enabled by default.
* tb/pack-revindex-on-disk:
t: invert `GIT_TEST_WRITE_REV_INDEX`
config: enable `pack.writeReverseIndex` by default
pack-revindex: introduce `pack.readReverseIndex`
pack-revindex: introduce GIT_TEST_REV_INDEX_DIE_ON_DISK
pack-revindex: make `load_pack_revindex` take a repository
t5325: mark as leak-free
pack-write.c: plug a leak in stage_tmp_packfiles()
Diffstat (limited to 'packfile.c')
-rw-r--r-- | packfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packfile.c b/packfile.c index 9ae2278c22..57df0c1956 100644 --- a/packfile.c +++ b/packfile.c @@ -2154,7 +2154,7 @@ int for_each_object_in_pack(struct packed_git *p, int r = 0; if (flags & FOR_EACH_OBJECT_PACK_ORDER) { - if (load_pack_revindex(p)) + if (load_pack_revindex(the_repository, p)) return -1; } |