Skip to content

Commit 42da067

Browse files
jeffhostetlerdscho
authored andcommitted
Merge pull request #121 from jeffhostetler/hotfix-midx-verify
midx: verify: add midx packfiles to the packed_git list
2 parents 5e99cbd + 4a7fe71 commit 42da067

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

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)