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 /diff-lib.c | |
parent | 74ae14199dfb4b3b22a10d3dcecb62b457245564 (diff) | |
download | git-5ce9086ddfe6931ef34fcd99778c9235e2ee1839.tar.gz |
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 'diff-lib.c')
0 files changed, 0 insertions, 0 deletions