diff options
author | Jeff King <peff@peff.net> | 2016-04-28 16:37:44 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-04-28 20:47:34 +0300 |
commit | 860cba61a3eac38151fd203547df7515023303e9 (patch) | |
tree | a9d1429faa3e6485406ff08d7ea76344feaa5a89 /submodule.h | |
parent | 455d22c1c6abc19693beb8a25bc3d976290d6b84 (diff) |
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 'submodule.h')
0 files changed, 0 insertions, 0 deletions