summaryrefslogtreecommitdiff
path: root/t/interop/i0000-basic.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-11-24 11:10:58 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-11-24 11:20:29 +0900
commit7db2cbf4f13bc2e433828fd6dba1748551a14aff (patch)
tree2a2a1901109a9d6e66ed7580abf78c11551b46c4 /t/interop/i0000-basic.sh
parentGit 2.12.5 (diff)
downloadtgif-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 't/interop/i0000-basic.sh')
0 files changed, 0 insertions, 0 deletions