diff options
author | Karthik Nayak <karthik.188@gmail.com> | 2024-11-27 17:28:33 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-12-04 02:32:21 +0100 |
commit | 24d3dd79e4810ae7bafb3180664ac435fecd567f (patch) | |
tree | d4cb3273139917480d1be8a84e13f04e7749a45b /t/t3501-revert-cherry-pick.sh | |
parent | midx: pass down `hash_algo` to functions using global variables (diff) | |
download | git-24d3dd79e4810ae7bafb3180664ac435fecd567f.tar.xz git-24d3dd79e4810ae7bafb3180664ac435fecd567f.zip |
midx: inline the `MIDX_MIN_SIZE` definition
The `MIDX_MIN_SIZE` definition is used to check the midx_size in
`local_multi_pack_index_one`. This definition relies on the
`the_hash_algo` global variable. Inline this and remove the global
variable usage.
With this, remove `USE_THE_REPOSITORY_VARIABLE` usage from `midx.c`.
Signed-off-by: Karthik Nayak <karthik.188@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3501-revert-cherry-pick.sh')
0 files changed, 0 insertions, 0 deletions