From: Adrian Ratiu Date: Tue, 03 Mar 2026 12:47:50 GMT Subject: Re: [PATCH 1/1] builtin/receive-pack: avoid spinning no-op sideband async threads Message-ID: <87342hoz9l.fsf@collabora.com> In-Reply-To: On Mon, 02 Mar 2026, Junio C Hamano wrote: >> @@ -1674,6 +1680,9 @@ static void run_update_post_hook(struct command *commands) >> int sideband_async_started = 0; >> int saved_stderr = -1; >> >> + if (!hook_exists(the_repository, "post-update")) >> + return; >> + >> for (cmd = commands; cmd; cmd = cmd->next) { >> if (cmd->error_string || cmd->did_not_exist) >> continue; > > Ditto for "post-update". > > Will queue with the following change squashed in. Thank you Junio, much appreciated!