]> git.ipfire.org Git - thirdparty/git.git/commit
hooks: allow callers to capture output
authorEmily Shaffer <emilyshaffer@google.com>
Fri, 26 Dec 2025 12:23:32 +0000 (14:23 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 28 Dec 2025 05:02:07 +0000 (14:02 +0900)
commit53254bfa1b4e91bab2c675d1a6b561026f7b573a
tree69f7abf17ac4a80a6b764232b79346b17591c299
parent5ab5872a53296b009cca43d412efd1a74ea4f149
hooks: allow callers to capture output

Some server-side hooks will require capturing output to send over
sideband instead of printing directly to stderr. Expose that capability.

Signed-off-by: Emily Shaffer <emilyshaffer@google.com>
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
hook.c
hook.h