]> git.ipfire.org Git - thirdparty/git.git/commit
t/lib-t6000: refactor `name_from_description()` to not depend on Perl
authorPatrick Steinhardt <ps@pks.im>
Thu, 3 Apr 2025 05:06:06 +0000 (07:06 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Apr 2025 21:47:40 +0000 (14:47 -0700)
commitde9eeabd7119afb6c6895e88cb76403c1ec8273a
tree17cb31ea0ef8348fa1da128c0947531be257f1e5
parent3ca6f2058563a371435954fa3782169073823781
t/lib-t6000: refactor `name_from_description()` to not depend on Perl

The `name_from_description()` test helper uses Perl to munge a given
description and convert it into a name. Refactor it to instead use a
combination of sed(1) and tr(1) so that we drop PERL_TEST_HELPERS
prerequisites in users of this library.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/lib-t6000.sh
t/t6002-rev-list-bisect.sh
t/t6003-rev-list-topo-order.sh