merge: update documentation for {merge,diff}.renameLimit
[gitweb.git] / builtin / am.c
index 1bcc3606c54f62c02ea6b7e70c895bf21714ae65..9c82603f70ff9605aa25c78023355b94860a7ce0 100644 (file)
@@ -1862,7 +1862,7 @@ static void am_run(struct am_state *state, int resume)
         */
        if (!state->rebasing) {
                am_destroy(state);
-               close_all_packs();
+               close_all_packs(the_repository->objects);
                run_command_v_opt(argv_gc_auto, RUN_GIT_CMD);
        }
 }