aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenton Liu <liu.denton@gmail.com>2019-11-20 13:18:36 -0800
committerJunio C Hamano <gitster@pobox.com>2019-11-21 09:29:52 +0900
commit79f3950d02fdf52ff873b5e36ed435eddf17b8a7 (patch)
treecb9b7cbb9ac01257a8f4119ee4c456b7e257d058
parent3a6e48e9f7c4ca8b7af1b82c8de1d51eb0348bed (diff)
downloadgit-79f3950d02fdf52ff873b5e36ed435eddf17b8a7.tar.gz
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 <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xt/t3206-range-diff.sh2
1 files changed, 1 insertions, 1 deletions
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