Thread (61 messages) flat view 61 messages, 5 authors, 2d ago
WARM2d

[PATCH v4 1/3] doc: add proc-receive hook info in 'git-receive-pack.adoc'

From: Karthik Nayak <hidden>
Date: 2026-08-26 10:19:56
Subsystem: documentation, the rest · Maintainers: Jonathan Corbet, Linus Torvalds

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 <redacted>
---
 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
 ----------------------
-- 
2.55.GIT
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help