]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/repack.c
packfile: rename close_all_packs to close_object_store
[thirdparty/git.git] / builtin / repack.c
index 2a1c7b21c5d9cb52c328105b470366d1c7ef7c76..4de8b6600c4523f275121244522bc8654173dcbd 100644 (file)
@@ -419,6 +419,8 @@ int cmd_repack(int argc, const char **argv, const char *prefix)
        if (!names.nr && !po_args.quiet)
                printf_ln(_("Nothing new to pack."));
 
+       close_object_store(the_repository->objects);
+
        /*
         * Ok we have prepared all new packfiles.
         * First see if there are packs of the same name and if so