From: Johannes Schindelin Date: Wed, 13 Jan 2016 17:20:16 GMT Subject: [PATCH 2/4] am: release pack files before garbage-collecting Message-ID: <999dc2556d5a4683722b4c63870f43c48d2a3211.1452705584.git.johannes.schindelin@gmx.de> In-Reply-To: Before auto-gc'ing, we need to make sure that the pack files are released in case they need to be repacked and garbage-collected. Signed-off-by: Johannes Schindelin --- builtin/am.c | 1 + 1 file changed, 1 insertion(+) diff --git a/builtin/am.c b/builtin/am.c index 9fb42fd..de235cf 100644 --- a/builtin/am.c +++ b/builtin/am.c @@ -1939,6 +1939,7 @@ next: */ if (!state->rebasing) { am_destroy(state); + close_all_packs(); run_command_v_opt(argv_gc_auto, RUN_GIT_CMD); } } -- 2.6.3.windows.1.300.g1c25e49