Merge branch 'ds/close-object-store' into maint
[gitweb.git] / builtin / fetch.c
index 4ba63d5ac642844832a5c832cea93ddf99507764..fc6c879bcf9ace22492166379ca7fad8186a8d7d 100644 (file)
@@ -1672,7 +1672,7 @@ int cmd_fetch(int argc, const char **argv, const char *prefix)
 
        string_list_clear(&list, 0);
 
-       close_all_packs(the_repository->objects);
+       close_object_store(the_repository->objects);
 
        argv_array_pushl(&argv_gc_auto, "gc", "--auto", NULL);
        if (verbosity < 0)