diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2010-02-25 00:34:18 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-02-24 16:24:25 -0800 |
commit | 5ce9086ddfe6931ef34fcd99778c9235e2ee1839 (patch) | |
tree | c1fa25137b822567a479a146d5958f58a56b9936 /t/t4041-diff-submodule.sh | |
parent | submodules: ensure clean environment when operating in a submodule (diff) | |
download | tgif-5ce9086ddfe6931ef34fcd99778c9235e2ee1839.tar.xz |
is_submodule_modified(): clear environment properly
Rather than only clearing GIT_INDEX_FILE, take the list of environment
variables to clear from local_repo_env, appending the settings for
GIT_DIR and GIT_WORK_TREE.
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4041-diff-submodule.sh')
0 files changed, 0 insertions, 0 deletions