diff options
author | Patrick Steinhardt <ps@pks.im> | 2025-04-03 07:06:05 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-04-07 14:47:40 -0700 |
commit | 3ca6f2058563a371435954fa3782169073823781 (patch) | |
tree | 052522323c014def7f82dbd65f3ee8a7d2c62be9 /builtin/commit.c | |
parent | 4a7af4edbb800ff8ed0cd131423f45c2c76e1200 (diff) |
t/lib-gpg: refactor `sanitize_pgp()` to not depend on Perl
The `sanitize_pgp()` test helper uses Perl to strip PGP signatures from
stdin. Refactor it to instead use sed(1) so that we drop the
PERL_TEST_HELPERS prerequisite in users of this library.
Note that we have to add PERL_TEST_HELPERS to a subset of tests in t6300
now that the test suite doesn't bail out early anymore in case the
prerequisite isn't set.
Helped-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
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