Merge branch 'mt/dir-iterator-updates'
[gitweb.git] / builtin / merge.c
index e7aeedc77da1f06840714b86a90c7eb56e5b714b..e2ccbc44e204173b09f5ad4b704a31a9e8643bb6 100644 (file)
@@ -453,7 +453,7 @@ static void finish(struct commit *head_commit,
                         * We ignore errors in 'gc --auto', since the
                         * user should see them.
                         */
-                       close_all_packs(the_repository->objects);
+                       close_object_store(the_repository->objects);
                        run_command_v_opt(argv_gc_auto, RUN_GIT_CMD);
                }
        }