]> Kevux Git Server - rit/commit
t1800: add hook output stream tests
authorAdrian Ratiu <adrian.ratiu@collabora.com>
Wed, 28 Jan 2026 21:39:16 +0000 (23:39 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 28 Jan 2026 23:47:02 +0000 (15:47 -0800)
commitc9ef360403e0f64a5d4c70f66a9b25f02a98fda6
treea52f7c6ca4f141dcae2cb1b1bd22c2b6dbdd0904
parenta3d1f391d35762162356201028fb73774a6c4a8b
t1800: add hook output stream tests

Lack of test coverage in this area led to some regressions while
converting the remaining hooks to the newer hook.[ch] API.

Add some tests to verify hooks write to the expected output streams.

Suggested-by: Patrick Steinhardt <ps@pks.im>
Suggested-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Adrian Ratiu <adrian.ratiu@collabora.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1800-hook.sh