]> git.ipfire.org Git - thirdparty/git.git/commit
config: pass repo to `git_die_config()`
authorPatrick Steinhardt <ps@pks.im>
Tue, 13 Aug 2024 09:14:07 +0000 (11:14 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 13 Aug 2024 17:01:04 +0000 (10:01 -0700)
commit0c2c37d16b170697e7c97be5db7dca58b877c4e5
tree52d277d4e6ebde1843290d059251183d01d1c1d6
parent44ebcd6254ce9e42eeaa70b67750efb356157914
config: pass repo to `git_die_config()`

Refactor `git_die_config()` 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>
builtin/fast-import.c
builtin/notes.c
config.c
config.h