]> 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>
Thu, 15 Jan 2026 21:10:29 +0000 (13:10 -0800)
commit31bc927a9b8067c3cb2f2dd0455e1b2e8f2402f4
tree69efa48c2faa52f9f44d0a35c135259025fe3505
parent5f14c14aecfeda119a1a4f5c4874f52619cb4652
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