From 58ee2e3a72d46847ee63baf768864a14ce0716fc Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 19 Nov 2026 21:27:30 +0000 Subject: krebs.git: run post-receive hooks only once makeHooks links a repo's post-receive hook into the hooks directory, where git runs it after updating the refs. The generated pre-receive no longer also runs it inline, where it ran before the refs were updated and with its stdin already consumed. --- modules/git.nix | 4 ---- 1 file changed, 4 deletions(-) (limited to 'modules') diff --git a/modules/git.nix b/modules/git.nix index 5237a4d..45fe54a 100644 --- a/modules/git.nix +++ b/modules/git.nix @@ -724,10 +724,6 @@ let fi systemd-cat -p info -t git echo "$accept_string" - - ${optionalString (hasAttr "post-receive" repo.hooks) '' - # custom post-receive hook - ${repo.hooks.post-receive}''} ''; }; -- cgit v1.3.1