diff options
author | Stefan Beller <sbeller@google.com> | 2018-03-23 18:21:00 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-03-26 19:05:55 +0200 |
commit | d0b59866223f7ef0dcd07bff857f651cd921bc02 (patch) | |
tree | 0d073e2c27c760a98cd978c5e34dfb6a4504b579 /builtin/am.c | |
parent | object-store: move packed_git and packed_git_mru to object store (diff) | |
download | git-d0b59866223f7ef0dcd07bff857f651cd921bc02.tar.xz git-d0b59866223f7ef0dcd07bff857f651cd921bc02.zip |
object-store: close all packs upon clearing the object store
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/am.c')
-rw-r--r-- | builtin/am.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/am.c b/builtin/am.c index 5bdd2d7578..47beddbe24 100644 --- a/builtin/am.c +++ b/builtin/am.c @@ -1859,7 +1859,7 @@ next: */ 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); } } |