diff options
| author | Patrick Steinhardt <ps@pks.im> | 2025-04-03 07:06:10 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-04-07 14:47:41 -0700 |
| commit | 88bef8db847ae45a22e5238e324654d72d078a26 (patch) | |
| tree | 7c607cfd323df40f1776221f3eba7043fe158193 /t/unit-tests/u-oid-array.c | |
| parent | 9f4bce35b399508737e30bb5b22787d86cb5001f (diff) | |
t5316: refactor `max_chain()` to not depend on Perl
The `max_chain()` helper function is used to extract the maximum delta
chain of a packfile as printed by git-index-pack(1). The script uses
Perl to extract that data, but it can be trivially refactored to use
awk(1) instead.
Refactor the helper 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 't/unit-tests/u-oid-array.c')
0 files changed, 0 insertions, 0 deletions
