diff options
author | Taylor Blau <me@ttaylorr.com> | 2021-09-09 19:24:44 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-09-09 18:23:11 -0700 |
commit | 4e58cedd948cf9bdf0e0c09dd312d1d9c1b035c0 (patch) | |
tree | c82763f24062560667994c1b36c92c9400f4a625 | |
parent | pack-write.c: rename `.idx` files after `*.rev` (diff) | |
download | tgif-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.c | 2 |
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) |