summaryrefslogtreecommitdiffstats
path: root/githooks.html
diff options
context:
space:
mode:
Diffstat (limited to 'githooks.html')
-rw-r--r--githooks.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/githooks.html b/githooks.html
index b322d8d57..8fe90a7be 100644
--- a/githooks.html
+++ b/githooks.html
@@ -975,12 +975,12 @@ arguments, but for each ref to be updated it receives on standard
input a line of the format:</p></div>
<div class="literalblock">
<div class="content">
-<pre><code>&lt;old-value&gt; SP &lt;new-value&gt; SP &lt;ref-name&gt; LF</code></pre>
+<pre><code>&lt;old-oid&gt; SP &lt;new-oid&gt; SP &lt;ref-name&gt; LF</code></pre>
</div></div>
-<div class="paragraph"><p>where <code>&lt;old-value&gt;</code> is the old object name stored in the ref,
-<code>&lt;new-value&gt;</code> is the new object name to be stored in the ref and
+<div class="paragraph"><p>where <code>&lt;old-oid&gt;</code> is the old object name stored in the ref,
+<code>&lt;new-oid&gt;</code> is the new object name to be stored in the ref and
<code>&lt;ref-name&gt;</code> is the full name of the ref.
-When creating a new ref, <code>&lt;old-value&gt;</code> is the all-zeroes object name.</p></div>
+When creating a new ref, <code>&lt;old-oid&gt;</code> is the all-zeroes object name.</p></div>
<div class="paragraph"><p>If the hook exits with non-zero status, none of the refs will be
updated. If the hook exits with zero, updating of individual refs can
still be prevented by the <a href="#update"><em>update</em></a> hook.</p></div>
@@ -1198,13 +1198,13 @@ given reference transaction is in:</p></div>
receives on standard input a line of the format:</p></div>
<div class="literalblock">
<div class="content">
-<pre><code>&lt;old-value&gt; SP &lt;new-value&gt; SP &lt;ref-name&gt; LF</code></pre>
+<pre><code>&lt;old-oid&gt; SP &lt;new-oid&gt; SP &lt;ref-name&gt; LF</code></pre>
</div></div>
-<div class="paragraph"><p>where <code>&lt;old-value&gt;</code> is the old object name passed into the reference
-transaction, <code>&lt;new-value&gt;</code> is the new object name to be stored in the
+<div class="paragraph"><p>where <code>&lt;old-oid&gt;</code> is the old object name passed into the reference
+transaction, <code>&lt;new-oid&gt;</code> is the new object name to be stored in the
ref and <code>&lt;ref-name&gt;</code> is the full name of the ref. When force updating
the reference regardless of its current value or when the reference is
-to be created anew, <code>&lt;old-value&gt;</code> is the all-zeroes object name. To
+to be created anew, <code>&lt;old-oid&gt;</code> is the all-zeroes object name. To
distinguish these cases, you can inspect the current value of
<code>&lt;ref-name&gt;</code> via <code>git rev-parse</code>.</p></div>
<div class="paragraph"><p>The exit status of the hook is ignored for any state except for the
@@ -1442,7 +1442,7 @@ running passing "1", "1" should not be possible.</p></div>
<div id="footer">
<div id="footer-text">
Last updated
- 2024-02-08 15:45:59 PST
+ 2024-04-10 12:46:30 PDT
</div>
</div>
</body>