Merge branch 'ds/midx-expire-repack'
[gitweb.git] / builtin / repack.c
index 3ea0583d0244ba98faf158fdc7ed22c006519d2b..d6abf74608fe1a84f6ad425c16798bfad81f69c3 100644 (file)
@@ -412,7 +412,7 @@ int cmd_repack(int argc, const char **argv, const char *prefix)
        if (!names.nr && !po_args.quiet)
                printf_ln(_("Nothing new to pack."));
 
-       close_all_packs(the_repository->objects);
+       close_object_store(the_repository->objects);
 
        /*
         * Ok we have prepared all new packfiles.