]> git.ipfire.org Git - thirdparty/git.git/commit
global: prepare for hiding away repo-less config functions
authorPatrick Steinhardt <ps@pks.im>
Tue, 13 Aug 2024 09:14:21 +0000 (11:14 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 13 Aug 2024 17:01:05 +0000 (10:01 -0700)
commit219de841d9436d759fa52ea60625b60cda8476fd
tree7c738cd9a5325d72ae375982fad9c0a0331442d8
parentf7d61c413530c53a55c5ff3fa345db6a9828943f
global: prepare for hiding away repo-less config functions

We're about to hide config functions that implicitly depend on
`the_repository` behind the `USE_THE_REPOSITORY_VARIABLE` macro. This
will uncover a bunch of dependents that transitively relied on the
global variable, but didn't define the macro yet.

Adapt them such that we define the macro to prepare for this change.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
23 files changed:
compat/fsmonitor/fsm-ipc-darwin.c
compat/precompose_utf8.c
connect.c
credential.c
daemon.c
editor.c
fsmonitor.c
gpg-interface.c
graph.c
imap-send.c
mailinfo.c
merge-ll.c
parallel-checkout.c
protocol.c
refs.c
refs/packed-backend.c
refs/reftable-backend.c
sideband.c
t/helper/test-advise.c
t/helper/test-config.c
t/helper/test-userdiff.c
trailer.c
versioncmp.c