diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2019-04-29 16:18:55 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-05-07 04:48:41 (GMT) |
commit | 64404a24cf60761baba0e04a337c419f0e86c0f9 (patch) | |
tree | 78911ffb0018c9ee400b7cf92e921d76967c9256 /builtin/multi-pack-index.c | |
parent | 83232e38648b51abbcbdb56c94632b6906cc85a6 (diff) | |
download | git-64404a24cf60761baba0e04a337c419f0e86c0f9.zip git-64404a24cf60761baba0e04a337c419f0e86c0f9.tar.gz git-64404a24cf60761baba0e04a337c419f0e86c0f9.tar.bz2 |
midx: pass a repository pointer
Much of the multi-pack-index code focuses on the multi_pack_index
struct, and so we only pass a pointer to the current one. However,
we will insert a dependency on the packed_git linked list in a
future change, so we will need a repository reference. Inserting
these parameters is a significant enough change to split out.
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/multi-pack-index.c')
-rw-r--r-- | builtin/multi-pack-index.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/multi-pack-index.c b/builtin/multi-pack-index.c index ae6e476..72dfd3d 100644 --- a/builtin/multi-pack-index.c +++ b/builtin/multi-pack-index.c @@ -46,7 +46,7 @@ int cmd_multi_pack_index(int argc, const char **argv, if (!strcmp(argv[0], "write")) return write_midx_file(opts.object_dir); if (!strcmp(argv[0], "verify")) - return verify_midx_file(opts.object_dir); + return verify_midx_file(the_repository, opts.object_dir); die(_("unrecognized verb: %s"), argv[0]); } |