Re: [PATCH 19/20] global: prepare for hiding away repo-less config functions
- From
Justin Tobler <jltobler@gmail.com>
- Date
- Aug 9, 2024, 20:57 UTC
- Message-ID
- <j6litzbor4sz7pycfh7wf5fmejidf5s75sbw3xgrpuwnroyvh6@kkydoqh47bjm>
- In-Reply-To
- <f7617beaa5aad64fe98ac52015eb68786114728b.1723013714.git.ps@pks.im>
On 24/08/07 08:58AM, Patrick Steinhardt wrote:
> 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'd define the macro yet.
s/didn'd/didn't/
> Adapt them such that we define the macro to prepare for this change.
Once config functions that rely implicitly on `the_repository` are guarded by `USE_THE_REPOSITORY_VARIABLE`, the macro will be required to use them. Now that the dependency is exposed they must be marked accordingly. Makes sense to me.