summaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorAdrian Ratiu <adrian.ratiu@collabora.com>2026-04-10 12:06:00 +0300
committerJunio C Hamano <gitster@pobox.com>2026-04-10 07:58:53 -0700
commitf776b77f0032fb342d567156626ef3fe9586443f (patch)
tree08c8c7d1b912444a3674d23b575dc999ba21533f /contrib/persistent-https
parent680e69f60d2b3838bb98938dbd3e8881bdfde7d6 (diff)
downloadgit-f776b77f0032fb342d567156626ef3fe9586443f.tar.gz
git-f776b77f0032fb342d567156626ef3fe9586443f.zip
hook: allow pre-push parallel execution
pre-push is the only hook that keeps stdout and stderr separate (for backwards compatibility with git-lfs and potentially other users). This prevents parallelizing it because run-command needs stdout_to_stderr=1 to buffer and de-interleave parallel outputs. Since we now default to jobs=1, backwards compatibility is maintained without needing any extension or extra config: when no parallelism is requested, pre-push behaves exactly as before. When the user explicitly opts into parallelism via hook.jobs > 1, hook.<event>.jobs > 1, or -jN, they accept the changed output behavior. Document this and let get_hook_jobs() set stdout_to_stderr=1 automatically when jobs > 1, removing the need for any extension infrastructure. Signed-off-by: Adrian Ratiu <adrian.ratiu@collabora.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions