]> git.ipfire.org Git - thirdparty/git.git/commit
config: pass repo to `git_config_get_index_threads()`
authorPatrick Steinhardt <ps@pks.im>
Tue, 13 Aug 2024 09:13:49 +0000 (11:13 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 13 Aug 2024 17:01:02 +0000 (10:01 -0700)
commit1870cc30d4c0652ac97e75035c5cb43d7caebbfa
tree4fb31822550cbe20292d4d262c5ac1ce26026307
parent2ea853646807f36ccd8d5c8e30b146c33f4ca3eb
config: pass repo to `git_config_get_index_threads()`

Refactor `git_config_get_index_threads()` to accept a `struct
repository` such that we can get rid of the implicit dependency on
`the_repository`. Rename the function accordingly.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.c
config.h
read-cache.c