summaryrefslogtreecommitdiff
path: root/builtin/commit-graph.c
diff options
context:
space:
mode:
authorJustin Tobler <jltobler@gmail.com>2024-07-15 13:37:39 -0500
committerJunio C Hamano <gitster@pobox.com>2024-07-15 11:43:38 -0700
commit8db8786fc2de36731738fd480d1df422c6e86579 (patch)
treee1e29d75de33c03842987f9d655832eacedc7bf3 /builtin/commit-graph.c
parent337b4d400023d22207bcc3c29e9ebab31bf96fc2 (diff)
doc: clarify post-receive hook behavior
The `githooks` documentation mentions that the post-receive hook executes once after git-receive-pack(1) updates all references and that it also receives the same information as the pre-receive hook on standard input. This is misleading though because the hook only executes once if at least one of the attempted reference updates is successful. Also, while each line provided on standard input is in the same format as the pre-receive hook, the information received only includes the set of references that were successfully updated. Update the documentation to clarify these points and also provide a reference to the post-receive hook section of the `git-receive-pack` documentation which has additional information. Signed-off-by: Justin Tobler <jltobler@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-graph.c')
0 files changed, 0 insertions, 0 deletions