diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-05-19 10:45:30 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-05-19 10:45:30 +0300 |
commit | 454b419729142cd65466cabdb253d06c3699d098 (patch) | |
tree | 38647bbf5a1e1cd3600606596971559ac16bb063 /builtin/pack-objects.c | |
parent | 97616ca488ba460e20cbbb3374aabc97919b44ca (diff) | |
parent | af96fe3392fb078cb5447bcb94f2ed8d79d0a4a8 (diff) |
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
Diffstat (limited to 'builtin/pack-objects.c')
-rw-r--r-- | builtin/pack-objects.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/pack-objects.c b/builtin/pack-objects.c index 9f424aabab..41d7fc5983 100644 --- a/builtin/pack-objects.c +++ b/builtin/pack-objects.c @@ -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; |