diff options
author | Patrick Steinhardt <ps@pks.im> | 2025-04-03 07:06:03 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-04-07 14:47:39 -0700 |
commit | 6aec8d38fddf22fa9fd3194acc2b891d295b5fbc (patch) | |
tree | 6973b0622ab90516fc1431cf3421f1687a8952fc /builtin/commit.c | |
parent | cdbdc6bf8caddc32e5fae7bfe4a63c54be21093f (diff) |
t: refactor tests depending on Perl to print data
A bunch of tests rely on Perl to print data in various different ways.
These usages fall into the following categories:
- Print data conditionally by matching patterns. These usecases can be
converted to use awk(1) rather easily.
- Print data repeatedly. These usecases can typically be converted to
use a combination of `test-tool genzeros` and sed(1).
- Print data in reverse. These usecases can be converted to use
awk(1) or `sort -r`.
Refactor the tests accordingly so that we can drop a couple of
PERL_TEST_HELPERS prerequisites.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions