Merge branch 'jk/no-system-includes-in-dot-c' into maint
[gitweb.git] / builtin / am.c
index 78389d08b631f0281b7f315de0fb67f61c044d0f..252e37ddf08e45eceb98628fe598df3ebcafb1fd 100644 (file)
@@ -1801,7 +1801,7 @@ static void am_run(struct am_state *state, int resume)
         */
        if (!state->rebasing) {
                am_destroy(state);
-               close_all_packs(the_repository->objects);
+               close_object_store(the_repository->objects);
                run_command_v_opt(argv_gc_auto, RUN_GIT_CMD);
        }
 }