t5537: use test_write_lines and indented heredocs for readability
commit8a8da49728b82a54e0f76c6cceba65be18095493
authorTaylor Blau <me@ttaylorr.com>
Fri, 24 Apr 2020 17:11:39 +0000 (24 11:11 -0600)
committerJunio C Hamano <gitster@pobox.com>
Fri, 24 Apr 2020 20:53:06 +0000 (24 13:53 -0700)
tree260cbc030edf80b51bec525d87b4c969a74d85fd
parent274b9cc25322d9ee79aa8e6d4e86f0ffe5ced925
t5537: use test_write_lines and indented heredocs for readability

A number of spots in t5537 use the non-indented heredoc '<<EOF' when
they would benefit from instead using '<<-EOF' or simply
test_write_lines.

In preparation for adding new tests in a good style and being consistent
with the surrounding code, update the existing tests to improve their
readability.

Suggested-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5537-fetch-shallow.sh