summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Taylor Blau <me@ttaylorr.com>2021-09-09 19:24:44 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-09-09 18:23:11 -0700
commit4e58cedd948cf9bdf0e0c09dd312d1d9c1b035c0 (patch)
treec82763f24062560667994c1b36c92c9400f4a625
parentpack-write.c: rename `.idx` files after `*.rev` (diff)
downloadtgif-4e58cedd948cf9bdf0e0c09dd312d1d9c1b035c0.tar.xz
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>
-rw-r--r--builtin/repack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/repack.c b/builtin/repack.c
index 5f9bc74adc..c3e4771609 100644
--- a/builtin/repack.c
+++ b/builtin/repack.c
@@ -208,10 +208,10 @@ static struct {
unsigned optional:1;
} exts[] = {
{".pack"},
- {".idx"},
{".rev", 1},
{".bitmap", 1},
{".promisor", 1},
+ {".idx"},
};
static unsigned populate_pack_exts(char *name)