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>
This commit is contained in:
parent
16a86907bc
commit
4e58cedd94
@ -208,10 +208,10 @@ static struct {
|
|||||||
unsigned optional:1;
|
unsigned optional:1;
|
||||||
} exts[] = {
|
} exts[] = {
|
||||||
{".pack"},
|
{".pack"},
|
||||||
{".idx"},
|
|
||||||
{".rev", 1},
|
{".rev", 1},
|
||||||
{".bitmap", 1},
|
{".bitmap", 1},
|
||||||
{".promisor", 1},
|
{".promisor", 1},
|
||||||
|
{".idx"},
|
||||||
};
|
};
|
||||||
|
|
||||||
static unsigned populate_pack_exts(char *name)
|
static unsigned populate_pack_exts(char *name)
|
||||||
|
Loading…
Reference in New Issue
Block a user