Skip to content

Commit be59e6f

Browse files
Merge pull request #121 from jeffhostetler/hotfix-midx-verify
midx: verify: add midx packfiles to the packed_git list
2 parents 8af1f39 + fa4b43c commit be59e6f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

midx.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1014,6 +1014,9 @@ int verify_midx_file(const char *object_dir)
10141014
for (i = 0; i < m->num_packs; i++) {
10151015
if (prepare_midx_pack(m, i))
10161016
midx_report("failed to load pack in position %d", i);
1017+
1018+
if (m->packs[i])
1019+
install_packed_git(the_repository, m->packs[i]);
10171020
}
10181021

10191022
for (i = 0; i < 255; i++) {

0 commit comments

Comments
 (0)