diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2018-10-12 17:34:19 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-10-22 01:42:46 (GMT) |
commit | 1dcd9f2043a38f0c9684d47c71b9e383942660ac (patch) | |
tree | ccc137d372ff6f1d4a6285f7448ac7f5e465eba3 /t/t5310-pack-bitmaps.sh | |
parent | 0ce4ff942125eabed3df694dc27922bec8177624 (diff) | |
download | git-1dcd9f2043a38f0c9684d47c71b9e383942660ac.zip git-1dcd9f2043a38f0c9684d47c71b9e383942660ac.tar.gz git-1dcd9f2043a38f0c9684d47c71b9e383942660ac.tar.bz2 |
midx: close multi-pack-index on repack
When repacking, we may remove pack-files. This invalidates the
multi-pack-index (if it exists). Previously, we removed the
multi-pack-index file before removing any pack-file. In some cases,
the repack command may load the multi-pack-index into memory. This
may lead to later in-memory references to the non-existent pack-
files.
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5310-pack-bitmaps.sh')
0 files changed, 0 insertions, 0 deletions