]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t1092: replace incorrect 'echo' with 'cat'
authorDerrick Stolee <dstolee@microsoft.com>
Wed, 14 Jul 2021 13:12:27 +0000 (13:12 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Jul 2021 20:42:21 +0000 (13:42 -0700)
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>
t/t1092-sparse-checkout-compatibility.sh

index ba2fd94adaf0f59deac4ce06a45e89e0b52ecba1..ebbba044f77f79ee026ef83a088c0b8b64910091 100755 (executable)
@@ -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