diff options
author | Taylor Blau <me@ttaylorr.com> | 2021-08-31 16:51:59 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-09-01 10:58:43 -0700 |
commit | f5909d34ca4956744bc6e058d30546a5ab28ee8b (patch) | |
tree | 470dce334e8190acafd7050677e3ce5023e6dacf /hash-lookup.c | |
parent | midx: fix `*.rev` cleanups with `--object-dir` (diff) | |
download | tgif-f5909d34ca4956744bc6e058d30546a5ab28ee8b.tar.xz |
midx: clear auxiliary .rev after replacing the MIDX
When writing a new multi-pack index, write_midx_internal() attempts to
clean up any auxiliary files (currently just the MIDX's `.rev` file, but
soon to include a `.bitmap`, too) corresponding to the MIDX it's
replacing.
This step should happen after the new MIDX is written into place, since
doing so beforehand means that the old MIDX could be read without its
corresponding .rev file.
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'hash-lookup.c')
0 files changed, 0 insertions, 0 deletions