Code

t7502: do not globally unset GIT_COMMITTER_* environment variables
authorJunio C Hamano <gitster@pobox.com>
Wed, 4 Jun 2008 01:08:08 +0000 (18:08 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 4 Jun 2008 01:08:08 +0000 (18:08 -0700)
commit7845944c64de11d87e3b33ed7fa0a0a4b00fa435
tree702463add1dd197529643d753f014a61fc0ec351
parent422b206342047c9290362caeaa10cddbe3f9a23e
t7502: do not globally unset GIT_COMMITTER_* environment variables

One particular test wants to check the behaviour of the command
when these variables are not set, but the later tests should have
the reliable committer identity for repeatable tests.

Move the "unset" of the variables inside a subshell in the test
that wants to unset them.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7502-commit.sh