Merge branch 'ds/test-multi-pack-index'
Tests for the recently introduced multi-pack index machinery. * ds/test-multi-pack-index: packfile: close multi-pack-index in close_all_packs multi-pack-index: define GIT_TEST_MULTI_PACK_INDEX midx: close multi-pack-index on repack midx: fix broken free() in close_midx()
This commit is contained in:
@ -345,6 +345,11 @@ void close_all_packs(struct raw_object_store *o)
|
||||
BUG("want to close pack marked 'do-not-close'");
|
||||
else
|
||||
close_pack(p);
|
||||
|
||||
if (o->multi_pack_index) {
|
||||
close_midx(o->multi_pack_index);
|
||||
o->multi_pack_index = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user