]> git.99rst.org Git - git.git/commit
midx: inline the `MIDX_MIN_SIZE` definition
authorKarthik Nayak <redacted>
Wed, 27 Nov 2024 16:28:33 +0000 (17:28 +0100)
committerJunio C Hamano <redacted>
Wed, 4 Dec 2024 01:32:21 +0000 (10:32 +0900)
commit24d3dd79e4810ae7bafb3180664ac435fecd567f
treed4cb3273139917480d1be8a84e13f04e7749a45b
parentf59de71cf700f9f8da27023ec8b5df117f99d9c8
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
midx.c
git clone https://git.99rst.org/PROJECT