diff options
| author | Karthik Nayak <karthik.188@gmail.com> | 2024-11-27 17:28:31 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-12-04 10:32:20 +0900 |
| commit | d5c2ca576a47480b03a83821041955a21a645d1a (patch) | |
| tree | d8e709ce0b75c38af0ec27899b0c4ea0f1c3ea89 /commit.c | |
| parent | midx: cleanup internal usage of `the_repository` and `the_hash_algo` (diff) | |
| download | git-d5c2ca576a47480b03a83821041955a21a645d1a.tar.gz git-d5c2ca576a47480b03a83821041955a21a645d1a.zip | |
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
