author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | |
Wed, 24 Feb 2010 23:34:18 +0000 (00:34 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 25 Feb 2010 00:24:25 +0000 (16:24 -0800) | ||
commit | 5ce9086ddfe6931ef34fcd99778c9235e2ee1839 | |
tree | c1fa25137b822567a479a146d5958f58a56b9936 | tree | snapshot |
parent | 74ae14199dfb4b3b22a10d3dcecb62b457245564 | commit | diff |
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>
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>
submodule.c | diff | blob | history |