Skip to content

Commit 4e58ced

Browse files
ttaylorrgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]> Signed-off-by: Taylor Blau <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 16a8690 commit 4e58ced

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/repack.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,10 @@ static struct {
208208
unsigned optional:1;
209209
} exts[] = {
210210
{".pack"},
211-
{".idx"},
212211
{".rev", 1},
213212
{".bitmap", 1},
214213
{".promisor", 1},
214+
{".idx"},
215215
};
216216

217217
static unsigned populate_pack_exts(char *name)

0 commit comments

Comments
 (0)