Re: [PATCH 05/10] tests: indent and add hook setup to "test_expect_success"
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 2, 2022, 21:27 UTC
- Message-ID
- <xmqqv8wwhwpe.fsf@gitster.g>
- In-Reply-To
- <patch-05.10-8dc478460ee-20220302T131859Z-avarab@gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
Show 6 quoted lines
> Indent various hook setup code in the test suite that's using a manual > "cat && chmod" pattern. > > These should also consistently use "#!$SHELL_PATH" instead of > "#!/bin/sh", i.e. "test_script". Let's fix that in a subsequent > commit, which will be easier to review after this smaller change.
These do move them in the right direction, but I am not sure if a step-wise "first we do <<- trick to kill unindented mess, and then another "use write_script" to touch the same places, consuming twice the reviewer bandwidth. I certainly would hate to have to see these lines twice X-<.