aboutsummaryrefslogtreecommitdiffstats
path: root/t/helper/test-run-command.c
diff options
context:
space:
mode:
authorAdrian Ratiu <adrian.ratiu@collabora.com>2025-10-17 17:15:40 +0300
committerJunio C Hamano <gitster@pobox.com>2025-10-17 14:32:52 -0700
commit9151f052eb3bee5cf42431ad9f1b533818d4baa4 (patch)
tree8cb61bd766b8ca0802933dc5a912a157ebda0494 /t/helper/test-run-command.c
parenttransport: convert pre-push to hook API (diff)
downloadgit-9151f052eb3bee5cf42431ad9f1b533818d4baa4.tar.gz
git-9151f052eb3bee5cf42431ad9f1b533818d4baa4.zip
hook: allow overriding the ungroup option
When calling run_process_parallel() in run_hooks_opt(), the ungroup option is currently hardcoded to .ungroup = 1. This causes problems when ungrouping should be disabled, for example when sideband-reading collated output from child hooks, because sideband-reading and ungrouping are mutually exclusive. Thus a new hook.h option is added to allow overriding. The existing ungroup=1 behavior is preserved in the run_hooks() API and the "hook run" command. We could modify these to take an option if necessary, so I added two code comments there. Signed-off-by: Adrian Ratiu <adrian.ratiu@collabora.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-run-command.c')
0 files changed, 0 insertions, 0 deletions