Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'ds/push-squelch-ambig-warning'
[gitweb.git]
/
packfile.c
diff --git
a/packfile.c
b/packfile.c
index f2850a00b58cccfec57335fb8e0500b7b1cba093..d1e6683ffe877d9bf1b0996f25f0720fdffe983a 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;
+ }
}
/*