Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/loose-object-cache'
[gitweb.git]
/
packfile.c
diff --git
a/packfile.c
b/packfile.c
index 91fd40efb01720a92707f1f441bac895585bb377..8c6b47cc777708d4f8e450337f2b9d205f43591b 100644
(file)
--- a/
packfile.c
+++ b/
packfile.c
@@
-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;
+ }
}
/*