From 4202813b300cc708d40b2a307405360e30b30a6a Mon Sep 17 00:00:00 2001 From: Karthik Nayak Date: Wed, 26 Aug 2026 12:19:37 +0200 Subject: [PATCH] doc: add proc-receive hook info in 'git-receive-pack.adoc' The 'Documentation/git-receive-pack.adoc' contains documentation about hooks which lie in the lifecycle of 'git-receive-pack(1)'. Unfortunately it is missing information about the 'proc-receive' hook. Add it. Signed-off-by: Karthik Nayak Signed-off-by: Junio C Hamano --- Documentation/git-receive-pack.adoc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/git-receive-pack.adoc b/Documentation/git-receive-pack.adoc index 0956086d61..4349487e6a 100644 --- a/Documentation/git-receive-pack.adoc +++ b/Documentation/git-receive-pack.adoc @@ -236,6 +236,12 @@ if the repository is packed and is served via a dumb transport. exec git update-server-info ---- +PROC-RECEIVE HOOK +----------------- +This hook is invoked by 'git-receive-pack' when it processes push +requests. It handles refs whose names match the patterns defined by +`receive.procReceiveRefs` and executes the actual ref updates. See +linkgit:githooks[5] for the full protocol description. QUARANTINE ENVIRONMENT ----------------------