is_submodule_modified(): fix breakage with external GIT_INDEX_FILE
authorJunio C Hamano <gitster@pobox.com>
Sat, 30 Jan 2010 20:08:26 +0000 (12:08 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sat, 30 Jan 2010 21:56:56 +0000 (13:56 -0800)
Even when the environment was given for the top-level process, checking
in the submodule work tree should use the index file associated with the
work tree of the submodule. Do not export it to the environment.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found