summaryrefslogtreecommitdiff
path: root/run-command.c
diff options
context:
space:
mode:
authorJonathan Tan <jonathantanmy@google.com>2021-06-17 17:13:24 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-06-28 16:57:54 (GMT)
commit69bb2e1804d2f3e5ba7ef365fdfd1937b4d7ca0a (patch)
treefe03b124adc572924ed6df2d31242e187af49b9b /run-command.c
parentef7dc2e9ccb832c1dc29d5102c09f6c4a51d4dca (diff)
downloadgit-69bb2e1804d2f3e5ba7ef365fdfd1937b4d7ca0a.zip
git-69bb2e1804d2f3e5ba7ef365fdfd1937b4d7ca0a.tar.gz
git-69bb2e1804d2f3e5ba7ef365fdfd1937b4d7ca0a.tar.bz2
submodule: refrain from filtering GIT_CONFIG_COUNT
14111fc492 ("git: submodule honor -c credential.* from command line", 2016-03-01) taught Git to pass through the GIT_CONFIG_PARAMETERS environment variable when invoking a subprocess on behalf of a submodule. But when d8d77153ea ("config: allow specifying config entries via envvar pairs", 2021-01-15) introduced support for GIT_CONFIG_COUNT (and its associated GIT_CONFIG_KEY_? and GIT_CONFIG_VALUE_?), the subprocess mechanism wasn't updated to also pass through these variables. Since they are conceptually the same (d8d77153ea was written to address a shortcoming of GIT_CONFIG_PARAMETERS), update the submodule subprocess mechanism to also pass through GIT_CONFIG_COUNT. Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'run-command.c')
0 files changed, 0 insertions, 0 deletions