]> git.ipfire.org Git - thirdparty/git.git/blobdiff - packfile.c
Merge branch 'ds/test-multi-pack-index'
[thirdparty/git.git] / packfile.c
index f2850a00b58cccfec57335fb8e0500b7b1cba093..d1e6683ffe877d9bf1b0996f25f0720fdffe983a 100644 (file)
@@ -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;
+       }
 }
 
 /*