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 <karthik.188@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
seen
Karthik Nayak 2026-08-26 12:19:37 +02:00 committed by Junio C Hamano
parent 18e66859d8
commit 4202813b30
1 changed files with 6 additions and 0 deletions

View File

@ -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
----------------------