[PATCH v3 1/3] doc: add proc-receive hook info in 'git-receive-pack.adoc'
- From
Karthik Nayak <karthik.188@gmail.com>
- Date
- Aug 24, 2026, 10:20 UTC
- Message-ID
- <20260824-758-introduce-hook-v3-1-499526f0a062@gmail.com>
- In-Reply-To
- <20260824-758-introduce-hook-v3-0-499526f0a062@gmail.com>
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> --- 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