summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorKarthik Nayak <karthik.188@gmail.com>2024-11-27 17:28:31 +0100
committerJunio C Hamano <gitster@pobox.com>2024-12-04 10:32:20 +0900
commitd5c2ca576a47480b03a83821041955a21a645d1a (patch)
treed8e709ce0b75c38af0ec27899b0c4ea0f1c3ea89 /commit.c
parentfae9bae7091958255fa7729f6cedb8cc4f9a3387 (diff)
midx: pass `repository` to `load_multi_pack_index`
The `load_multi_pack_index` function in midx uses `the_repository` variable to access the `repository` struct. Modify the function and its callee's to send the `repository` field. This moves usage of `the_repository` to the `test-read-midx.c` file. While that is not optimal, it is okay, since the upcoming commits will slowly move the usage of `the_repository` up the layers and remove it eventually. Signed-off-by: Karthik Nayak <karthik.188@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions