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

The display 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