summaryrefslogtreecommitdiff
path: root/t/t5605-clone-local.sh
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2016-04-28 09:37:44 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-04-28 10:47:34 -0700
commit860cba61a3eac38151fd203547df7515023303e9 (patch)
treea9d1429faa3e6485406ff08d7ea76344feaa5a89 /t/t5605-clone-local.sh
parentt5550: break submodule config test into multiple sub-tests (diff)
downloadtgif-860cba61a3eac38151fd203547df7515023303e9.tar.xz
submodule: export sanitized GIT_CONFIG_PARAMETERS
Commit 14111fc (git: submodule honor -c credential.* from command line, 2016-02-29) taught git-submodule.sh to save the sanitized value of $GIT_CONFIG_PARAMETERS when clearing the environment for a submodule. However, it failed to export the result, meaning that it had no effect for any sub-programs. We didn't catch this in our initial tests because we checked only the "clone" case, which does not go through the shell script at all. Provoking "git submodule update" to do a fetch demonstrates the bug. Noticed-by: Lars Schneider <larsxschneider@gmail.com> Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5605-clone-local.sh')
0 files changed, 0 insertions, 0 deletions