]> Kevux Git Server - rit/commit
receive-pack: convert receive hooks to hook API
authorEmily Shaffer <emilyshaffer@google.com>
Wed, 28 Jan 2026 21:39:27 +0000 (23:39 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 28 Jan 2026 23:47:04 +0000 (15:47 -0800)
commitb5e9ad508c2f340bd2d2547d7370ae7ac6a0d65d
treed4f2db293f8d000ead5baeae3c29c64d48d02397
parentfc148b146ad41be71a7852c4867f0773cbfe1ff9
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 specifying hooks via configs, etc.).

See the previous three commits for a more in-depth explanation of
how this all works.

Signed-off-by: Emily Shaffer <emilyshaffer@google.com>
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Helped-by: Jeff King <peff@peff.net>
Signed-off-by: Adrian Ratiu <adrian.ratiu@collabora.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/receive-pack.c