From: Denton Liu Date: Wed, 20 Nov 2019 21:18:36 +0000 (-0800) Subject: t3206: disable parameter substitution in heredoc X-Git-Tag: v2.25.0-rc0~83^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=79f3950d02fdf52ff873b5e36ed435eddf17b8a7;p=thirdparty%2Fgit.git t3206: disable parameter substitution in heredoc In the first heredoc, parameter substitution is not used so prevent it from happening in the future (perhaps by accident) by escaping the limit EOF. The remaining heredocs use parameter substitution so they cannot be changed. Signed-off-by: Denton Liu Signed-off-by: Junio C Hamano --- diff --git a/t/t3206-range-diff.sh b/t/t3206-range-diff.sh index 87c6c029db..41606775d4 100755 --- a/t/t3206-range-diff.sh +++ b/t/t3206-range-diff.sh @@ -9,7 +9,7 @@ test_description='range-diff tests' test_expect_success 'setup' ' git fast-import <"$TEST_DIRECTORY"/t3206/history.export && - test_oid_cache <<-EOF + test_oid_cache <<-\EOF # topic t1 sha1:4de457d t2 sha1:fccce22