Subject: Re: [PATCH v2 2/2] config: allow specifying config entries via envvar pairs

From: Ævar Arnfjörð Bjarmason <[email-masked]>
Date: Wed, 25 Nov 2020 09:47:22 +0100

On Tue, Nov 24 2020, Patrick Steinhardt wrote:

> +test_expect_success 'command line overrides environment config' '
> +	GIT_CONFIG_COUNT=1 GIT_CONFIG_KEY_0=pair.one GIT_CONFIG_VALUE_0=value \
> +		git -c pair.one=override config pair.one >actual &&
> +	cat >expect <<-EOF &&
> +	override
> +	EOF
> +	test_cmp expect actual
> +'
> +

Maybe a test to see which one of this new-style key-value thing
v.s. GIT_CONFIG_PARAMETERS wins? Helps if/when we ever refactor this to
at least see the behavior of the purely internal thing changed.