Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/hook.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-06-14 01:53:41 +0300
committerJunio C Hamano <gitster@pobox.com>2022-06-14 01:53:41 +0300
commit1a7f6be5b17f572fc68ff2a2e0c079d50c671c74 (patch)
tree1968c2539b29085e584648a5b8079551ec61b752 /hook.c
parent66c2948ffd6e376447252a3a72f7ce78eeef3e52 (diff)
parenta082345372e14ecd30a84a790eda0c38154e4602 (diff)
Merge branch 'ab/hooks-regression-fix'
In Git 2.36 we revamped the way how hooks are invoked. One change that is end-user visible is that the output of a hook is no longer directly connected to the standard output of "git" that spawns the hook, which was noticed post release. This is getting corrected. * ab/hooks-regression-fix: hook API: fix v2.36.0 regression: hooks should be connected to a TTY run-command: add an "ungroup" option to run_process_parallel()
Diffstat (limited to 'hook.c')
-rw-r--r--hook.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hook.c b/hook.c
index 2b47bdf5ef..d113ee7faa 100644
--- a/hook.c
+++ b/hook.c
@@ -144,6 +144,7 @@ int run_hooks_opt(const char *hook_name, struct run_hooks_opt *options)
cb_data.hook_path = abs_path.buf;
}
+ run_processes_parallel_ungroup = 1;
run_processes_parallel_tr2(jobs,
pick_next_hook,
notify_start_failure,