gc --auto: exclude base pack if not enough mem to "repack -ad"
[gitweb.git] / builtin / merge.c
index 8746c5e3e867d79c85728974825ebca4b07a2e9a..9db5a2cf16e189bb3bd0ceec7d34c6651d630225 100644 (file)
@@ -412,7 +412,7 @@ static void finish(struct commit *head_commit,
                         * We ignore errors in 'gc --auto', since the
                         * user should see them.
                         */
-                       close_all_packs();
+                       close_all_packs(the_repository->objects);
                        run_command_v_opt(argv_gc_auto, RUN_GIT_CMD);
                }
        }