summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2025-04-03 07:06:10 +0200
committerJunio C Hamano <gitster@pobox.com>2025-04-07 14:47:41 -0700
commit88bef8db847ae45a22e5238e324654d72d078a26 (patch)
tree7c607cfd323df40f1776221f3eba7043fe158193 /commit.c
parent9f4bce35b399508737e30bb5b22787d86cb5001f (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 'commit.c')
0 files changed, 0 insertions, 0 deletions