This applies on top of origin/sb/object-store and is the continuation of that series, adding the repository as a context argument to functions. This series focusses on packfile handling, exposing (re)prepare_packed_git and find_pack_entry to a repository argument. Looking at the diffstat of "Delete ignore_env member in struct repository"[1] and "Fix initializing the_hash_algo"[2], which also build on origin/sb/object-store, this series looks rather orthogonal to those, so I would not a lot of merge conflicts. [1] https://public-inbox.org/git/20180227095846.9238-1-pclouds@xxxxxxxxx/ [2] https://public-inbox.org/git/20180225111840.16421-1-pclouds@xxxxxxxxx/ The third series (after this one) will focus on object replacement, such that we can migrate sha1_object_info_extended at the end of the third series. Thanks, Stefan Stefan Beller (11): packfile: allow prepare_packed_git_mru to handle arbitrary repositories packfile: allow rearrange_packed_git to handle arbitrary repositories packfile: allow install_packed_git to handle arbitrary repositories packfile: add repository argument to prepare_packed_git_one packfile: add repository argument to prepare_packed_git packfile: add repository argument to reprepare_packed_git packfile: allow prepare_packed_git_one to handle arbitrary repositories packfile: allow prepare_packed_git to handle arbitrary repositories packfile: allow reprepare_packed_git to handle arbitrary repositories packfile: add repository argument to find_pack_entry packfile: allow find_pack_entry to handle arbitrary repositories builtin/count-objects.c | 2 +- builtin/fsck.c | 2 +- builtin/gc.c | 4 +-- builtin/pack-objects.c | 2 +- builtin/pack-redundant.c | 2 +- builtin/receive-pack.c | 3 +- bulk-checkin.c | 3 +- fast-import.c | 4 +-- fetch-pack.c | 3 +- http-backend.c | 2 +- http.c | 2 +- pack-bitmap.c | 2 +- packfile.c | 72 +++++++++++++++++++--------------------- packfile.h | 12 ++++--- server-info.c | 2 +- sha1_file.c | 8 ++--- sha1_name.c | 4 +-- 17 files changed, 66 insertions(+), 63 deletions(-) -- 2.16.2.395.g2e18187dfd-goog