]> git.ipfire.org Git - thirdparty/git.git/commit - t/t5510-fetch.sh
tests: simplify construction of large blocks of text
authorEric Sunshine <sunshine@sunshineco.com>
Thu, 9 Dec 2021 05:11:04 +0000 (00:11 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 Dec 2021 18:29:48 +0000 (10:29 -0800)
commit020b813f400b55528edca00aff4d8e95080376f6
tree751e5e1376bd0f1a214fcb8f6fbc78bc5d9908a7
parent2041b0e8e87adca9f33b499f136445dc015339c8
tests: simplify construction of large blocks of text

Take advantage of here-docs to create large blocks of text rather than
using a series of `echo` statements. Not only are here-docs a natural
fit for such a task, but there is less opportunity for a broken
&&-chain.

Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Reviewed-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0021-conversion.sh
t/t4106-apply-stdin.sh
t/t5510-fetch.sh
t/t5515-fetch-merge-logic.sh
t/t6406-merge-attr.sh
t/t6411-merge-filemode.sh
t/t7810-grep.sh