t7502-commit.sh: rearrange test to make more portable
commit09b78bc1fc4e525bc68fa0ce76521457717fe675
authorBrandon Casey <casey@nrlssc.navy.mil>
Tue, 22 Jul 2008 21:21:10 +0000 (22 16:21 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 23 Jul 2008 18:36:31 +0000 (23 11:36 -0700)
treec7c1914fc4e87856eaf75d1fbf13928d2ad0521b
parent03b9dfb18ba451a2221601b740004befa7614c5b
t7502-commit.sh: rearrange test to make more portable

Some shells have problems with one-shot environment variable export
and function calls. The sequence is rearranged to avoid the one-shot
and to allow the test script to be linked together with '&&'.

Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7502-commit.sh