Merge branch 'sb/object-store' into next
[gitweb.git] / builtin / fetch.c
index 1613dc8bc1ad7ea27139da46844d7f4ffdc27199..7ee83ac0f8170d9e68c374a21caebfe01cf64533 100644 (file)
@@ -1533,7 +1533,7 @@ int cmd_fetch(int argc, const char **argv, const char *prefix)
 
        string_list_clear(&list, 0);
 
-       close_all_packs();
+       close_all_packs(the_repository->objects);
 
        argv_array_pushl(&argv_gc_auto, "gc", "--auto", NULL);
        if (verbosity < 0)