summaryrefslogtreecommitdiffstats
path: root/githooks.html
diff options
context:
space:
mode:
Diffstat (limited to 'githooks.html')
-rw-r--r--githooks.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/githooks.html b/githooks.html
index 841c9b84e..6d1777df2 100644
--- a/githooks.html
+++ b/githooks.html
@@ -810,7 +810,7 @@ invoked after the patch is applied, but before a commit is made.</p></div>
<div class="paragraph"><p>If it exits with non-zero status, then the working tree will not be
committed after applying the patch.</p></div>
<div class="paragraph"><p>It can be used to inspect the current working tree and refuse to
-make a commit if it does not pass certain test.</p></div>
+make a commit if it does not pass certain tests.</p></div>
<div class="paragraph"><p>The default <em>pre-applypatch</em> hook, when enabled, runs the
<em>pre-commit</em> hook, if the latter is enabled.</p></div>
</div>
@@ -872,7 +872,7 @@ a commit object name (if a <code>-c</code>, <code>-C</code> or <code>--amend</co
<div class="paragraph"><p>The purpose of the hook is to edit the message file in place, and
it is not suppressed by the <code>--no-verify</code> option. A non-zero exit
means a failure of the hook and aborts the commit. It should not
-be used as replacement for pre-commit hook.</p></div>
+be used as a replacement for the pre-commit hook.</p></div>
<div class="paragraph"><p>The sample <code>prepare-commit-msg</code> hook that comes with Git removes the
help message found in the commented portion of the commit template.</p></div>
</div>
@@ -1045,7 +1045,7 @@ shell to restrict the user&#8217;s access to only git commands.</p></div>
for the user.</p></div>
<div class="paragraph"><p>The default <em>update</em> hook, when enabled&#8212;and with
<code>hooks.allowunannotated</code> config option unset or set to false&#8212;prevents
-unannotated tags to be pushed.</p></div>
+unannotated tags from being pushed.</p></div>
</div>
<div class="sect2">
<h3 id="proc-receive">proc-receive</h3>
@@ -1081,12 +1081,12 @@ S: flush-pkt</code></pre>
</div></div>
<div class="literalblock">
<div class="content">
-<pre><code># Receive result from the hook.
+<pre><code># Receive results from the hook.
# OK, run this command successfully.
H: PKT-LINE(ok &lt;ref&gt;)
# NO, I reject it.
H: PKT-LINE(ng &lt;ref&gt; &lt;reason&gt;)
-# Fall through, let 'receive-pack' to execute it.
+# Fall through, let 'receive-pack' execute it.
H: PKT-LINE(ok &lt;ref&gt;)
H: PKT-LINE(option fall-through)
# OK, but has an alternate reference. The alternate reference name
@@ -1442,7 +1442,7 @@ running passing "1", "1" should not be possible.</p></div>
<div id="footer">
<div id="footer-text">
Last updated
- 2023-05-10 11:57:07 PDT
+ 2023-10-23 14:43:46 PDT
</div>
</div>
</body>