]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/config: move location options into local variables
authorPatrick Steinhardt <ps@pks.im>
Wed, 15 May 2024 06:42:16 +0000 (08:42 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 May 2024 14:17:53 +0000 (07:17 -0700)
commitddb103c2c7047ed4de0f00a3aeb371245532c2f9
treef0d3064adfa7dd59ec46520bd843cc289a12433a
parent999425cb12face7e8e67c87d255003d40a3d3cf8
builtin/config: move location options into local variables

The location options are tracked via a set of global variables. Move
them into a self-contained structure so that we can easily parse all
relevant options and hand them over to the various functions that
require them.

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