summaryrefslogtreecommitdiffstats
path: root/githooks.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-12-13 14:26:40 -0800
committerJunio C Hamano <gitster@pobox.com>2017-12-13 14:26:40 -0800
commit371470a74a288fec266da71f914ff3ada119085f (patch)
tree10f6f6ea05630845788eb0307d2d2b8095f958a9 /githooks.html
parent912712bb106faf8773bffb94876a77a2986f0be0 (diff)
downloadgit-htmldocs-371470a74a288fec266da71f914ff3ada119085f.tar.gz
Autogenerated HTML docs for v2.15.1-388-gd9a37
Diffstat (limited to 'githooks.html')
-rw-r--r--githooks.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/githooks.html b/githooks.html
index 58df1a1b4..520c4e940 100644
--- a/githooks.html
+++ b/githooks.html
@@ -928,8 +928,8 @@ to the user by writing to standard error.</p></div>
</div>
<div class="sect2">
<h3 id="pre-receive">pre-receive</h3>
-<div class="paragraph"><p>This hook is invoked by <em>git-receive-pack</em> on the remote repository,
-which happens when a <em>git push</em> is done on a local repository.
+<div class="paragraph"><p>This hook is invoked by <em>git-receive-pack</em> when it reacts to
+<em>git push</em> and updates reference(s) in its repository.
Just before starting to update refs on the remote repository, the
pre-receive hook is invoked. Its exit status determines the success
or failure of the update.</p></div>
@@ -963,8 +963,8 @@ will be set to zero, <code>GIT_PUSH_OPTION_COUNT=0</code>.</p></div>
</div>
<div class="sect2">
<h3 id="update">update</h3>
-<div class="paragraph"><p>This hook is invoked by <em>git-receive-pack</em> on the remote repository,
-which happens when a <em>git push</em> is done on a local repository.
+<div class="paragraph"><p>This hook is invoked by <em>git-receive-pack</em> when it reacts to
+<em>git push</em> and updates reference(s) in its repository.
Just before updating the ref on the remote repository, the update hook
is invoked. Its exit status determines the success or failure of
the ref update.</p></div>
@@ -1012,8 +1012,8 @@ unannotated tags to be pushed.</p></div>
</div>
<div class="sect2">
<h3 id="post-receive">post-receive</h3>
-<div class="paragraph"><p>This hook is invoked by <em>git-receive-pack</em> on the remote repository,
-which happens when a <em>git push</em> is done on a local repository.
+<div class="paragraph"><p>This hook is invoked by <em>git-receive-pack</em> when it reacts to
+<em>git push</em> and updates reference(s) in its repository.
It executes on the remote repository once after all the refs have
been updated.</p></div>
<div class="paragraph"><p>This hook executes once for the receive operation. It takes no
@@ -1043,8 +1043,8 @@ will be set to zero, <code>GIT_PUSH_OPTION_COUNT=0</code>.</p></div>
</div>
<div class="sect2">
<h3 id="post-update">post-update</h3>
-<div class="paragraph"><p>This hook is invoked by <em>git-receive-pack</em> on the remote repository,
-which happens when a <em>git push</em> is done on a local repository.
+<div class="paragraph"><p>This hook is invoked by <em>git-receive-pack</em> when it reacts to
+<em>git push</em> and updates reference(s) in its repository.
It executes on the remote repository once after all the refs have
been updated.</p></div>
<div class="paragraph"><p>It takes a variable number of parameters, each of which is the
@@ -1068,8 +1068,8 @@ for the user.</p></div>
</div>
<div class="sect2">
<h3 id="_push_to_checkout">push-to-checkout</h3>
-<div class="paragraph"><p>This hook is invoked by <em>git-receive-pack</em> on the remote repository,
-which happens when a <em>git push</em> is done on a local repository, when
+<div class="paragraph"><p>This hook is invoked by <em>git-receive-pack</em> when it reacts to
+<em>git push</em> and updates reference(s) in its repository, and when
the push tries to update the branch that is currently checked out
and the <code>receive.denyCurrentBranch</code> configuration variable is set to
<code>updateInstead</code>. Such a push by default is refused if the working
@@ -1176,7 +1176,7 @@ all files and folders.</p></div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2017-11-21 14:32:26 JST
+Last updated 2017-12-13 14:26:19 PST
</div>
</div>
</body>