summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerrick Stolee <dstolee@microsoft.com>2021-07-14 13:12:27 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-07-14 20:42:21 (GMT)
commit3d814b5dc0567ebca1c40c6fe10bd9f19ca31f58 (patch)
treea7fb137cbf684820217e19475bbd21705524ea58
parent47410778fbd2765c9e0a4b4026ece66aa7c83aa4 (diff)
downloadgit-3d814b5dc0567ebca1c40c6fe10bd9f19ca31f58.zip
git-3d814b5dc0567ebca1c40c6fe10bd9f19ca31f58.tar.gz
git-3d814b5dc0567ebca1c40c6fe10bd9f19ca31f58.tar.bz2
t1092: replace incorrect 'echo' with 'cat'
This fixes the test data shape to be as expected, allowing rename detection to work properly now that the 'larger-content' file actually has meaningful lines. Reviewed-by: Elijah Newren <newren@gmail.com> Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xt/t1092-sparse-checkout-compatibility.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1092-sparse-checkout-compatibility.sh b/t/t1092-sparse-checkout-compatibility.sh
index ba2fd94..ebbba04 100755
--- a/t/t1092-sparse-checkout-compatibility.sh
+++ b/t/t1092-sparse-checkout-compatibility.sh
@@ -40,7 +40,7 @@ test_expect_success 'setup' '
done &&
git checkout -b rename-base base &&
- echo >folder1/larger-content <<-\EOF &&
+ cat >folder1/larger-content <<-\EOF &&
matching
lines
help