]> git.99rst.org Git - git.git/commit
config: pass repo to functions that rename or copy sections
authorPatrick Steinhardt <redacted>
Tue, 13 Aug 2024 09:14:12 +0000 (11:14 +0200)
committerJunio C Hamano <redacted>
Tue, 13 Aug 2024 17:01:04 +0000 (10:01 -0700)
commit76fc9906f2121dd4abd42a4c6c2d864c40736b3a
tree7b7d99a0887289cf54e0de9bd31a32bd7b74e558
parent0c2c37d16b170697e7c97be5db7dca58b877c4e5
config: pass repo to functions that rename or copy sections

Refactor functions that rename or copy config sections to accept a
`struct repository` such that we can get rid of the implicit dependency
on `the_repository`. Rename the functions accordingly.

Signed-off-by: Patrick Steinhardt <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/branch.c
builtin/config.c
builtin/remote.c
builtin/submodule--helper.c
config.c
config.h
submodule.c
git clone https://git.99rst.org/PROJECT