summaryrefslogtreecommitdiffstats
path: root/t/t4013/diff.format-patch_--inline_--stdout_initial..master^
diff options
context:
space:
mode:
authorEmily Shaffer <emilyshaffer@google.com>2025-12-26 14:23:34 +0200
committerJunio C Hamano <gitster@pobox.com>2025-12-28 14:02:07 +0900
commitc65f26fca46f742e8e457d859a83c4e6ef3c3953 (patch)
treefa42a04f47b9ef6d3ad5a8a0861996d8b75d9f85 /t/t4013/diff.format-patch_--inline_--stdout_initial..master^
parent0bbaf3653f54f49ac124c623906983839c38b354 (diff)
downloadgit-c65f26fca46f742e8e457d859a83c4e6ef3c3953.tar.gz
git-c65f26fca46f742e8e457d859a83c4e6ef3c3953.zip
receive-pack: convert receive hooks to hook API
This converts the last remaining hooks to the new hook API, for the same benefits as the previous conversions (no need to toggle signals, manage custom struct child_process, call find_hook(), prepares for specifyinig hooks via configs, etc.). I noticed a performance degradation when processing large amounts of hook input with just 1 line per callback, due to run-command's poll loop, therefore I batched 500 lines per callback, to ensure similar pipe throughput as before and to avoid hook child waiting on stdin. Signed-off-by: Emily Shaffer <emilyshaffer@google.com> Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Adrian Ratiu <adrian.ratiu@collabora.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.format-patch_--inline_--stdout_initial..master^')
0 files changed, 0 insertions, 0 deletions