Merge branch 'ds/midx-too-many-packs'
The code to generate the multi-pack idx file was not prepared to see too many packfiles and ran out of open file descriptor, which has been corrected. * ds/midx-too-many-packs: midx: add packs to packed_git linked list midx: pass a repository pointer
This commit is contained in:
@ -1080,7 +1080,7 @@ static int want_object_in_pack(const struct object_id *oid,
|
||||
|
||||
for (m = get_multi_pack_index(the_repository); m; m = m->next) {
|
||||
struct pack_entry e;
|
||||
if (fill_midx_entry(oid, &e, m)) {
|
||||
if (fill_midx_entry(the_repository, oid, &e, m)) {
|
||||
struct packed_git *p = e.p;
|
||||
off_t offset;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user