diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-11-24 11:10:58 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-11-24 11:20:29 +0900 |
commit | 7db2cbf4f13bc2e433828fd6dba1748551a14aff (patch) | |
tree | 2a2a1901109a9d6e66ed7580abf78c11551b46c4 /merge-blobs.h | |
parent | Git 2.12.5 (diff) | |
download | tgif-7db2cbf4f13bc2e433828fd6dba1748551a14aff.tar.xz |
hooks doc: clarify when receive-pack invokes its hooks
The text meant to say that receive-pack runs these hooks, and only
because receive-pack is not a command the end users use every day
(ever), as an explanation also meantioned that it is run in response
to 'git push', which is an end-user facing command readers hopefully
know about.
This unfortunately gave an incorrect impression that 'git push'
always result in the hook to run. If the refs push wanted to update
all already had the desired value, these hooks are not run.
Explicitly mention "... and updates reference(s)" as a precondition
to avoid this confusion.
Helped-by: Christoph Michelbach <michelbach94@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'merge-blobs.h')
0 files changed, 0 insertions, 0 deletions