builtin/repack.c: move `.idx` files into place last
commit4e58cedd948cf9bdf0e0c09dd312d1d9c1b035c0
authorTaylor Blau <me@ttaylorr.com>
Thu, 9 Sep 2021 23:24:44 +0000 (9 19:24 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 Sep 2021 01:23:11 +0000 (9 18:23 -0700)
treec82763f24062560667994c1b36c92c9400f4a625
parent16a86907bca0ae7ed9f1dfaa6261234215151396
builtin/repack.c: move `.idx` files into place last

In a similar spirit as the previous patch, fix the identical problem
from `git repack` (which invokes `pack-objects` with a temporary
location for output, and then moves the files into their final locations
itself).

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/repack.c