diff options
author | Bryan Donlan <bdonlan@fushizen.net> | 2008-05-04 01:37:58 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-05-05 14:17:01 -0700 |
commit | 0e46e704626af5189c9c9ff2c0f348d2205c10f3 (patch) | |
tree | 5c1ad84d9adf5016bd1b8324da1c148025cd74df /t/t3500-cherry.sh | |
parent | cdf3ec01acb8785b8e61ce6e006c9c4c763de663 (diff) | |
download | git-0e46e704626af5189c9c9ff2c0f348d2205c10f3.tar.gz |
Don't use the 'export NAME=value' in the test scripts.
This form is not portable across all shells, so replace instances of:
export FOO=bar
with:
FOO=bar
export FOO
Signed-off-by: Bryan Donlan <bdonlan@fushizen.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3500-cherry.sh')
-rwxr-xr-x | t/t3500-cherry.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/t/t3500-cherry.sh b/t/t3500-cherry.sh index d0a440feba..4911c48378 100755 --- a/t/t3500-cherry.sh +++ b/t/t3500-cherry.sh @@ -10,7 +10,8 @@ checks that git cherry only returns the second patch in the local branch ' . ./test-lib.sh -export GIT_AUTHOR_EMAIL=bogus_email_address +GIT_AUTHOR_EMAIL=bogus_email_address +export GIT_AUTHOR_EMAIL test_expect_success \ 'prepare repository with topic branch, and check cherry finds the 2 patches from there' \ |