diff options
author | Karthik Nayak <karthik.188@gmail.com> | 2024-11-27 17:28:30 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-12-04 10:32:20 +0900 |
commit | fae9bae7091958255fa7729f6cedb8cc4f9a3387 (patch) | |
tree | 9d925c733df0140f3968b57f1fd86184276ecaac /commit.c | |
parent | 2fed09aa9b82e4710fb4049e18280df8270eb0b2 (diff) |
midx: cleanup internal usage of `the_repository` and `the_hash_algo`
In the `midx.c` file, there are multiple usages of `the_repository` and
`the_hash_algo` within static functions of the file. Some of the usages
can be simply swapped out with the available `repository` struct. While
some of them can be swapped out by passing the repository to the
required functions.
This leaves out only some other usages of `the_repository` and
`the_hash_algo` in the file in non-static functions, which we'll tackle
in upcoming commits.
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