diff options
Diffstat (limited to 'githooks.html')
-rw-r--r-- | githooks.html | 18 |
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><old-value> SP <new-value> SP <ref-name> LF</code></pre>
+<pre><code><old-oid> SP <new-oid> SP <ref-name> LF</code></pre>
</div></div>
-<div class="paragraph"><p>where <code><old-value></code> is the old object name stored in the ref,
-<code><new-value></code> is the new object name to be stored in the ref and
+<div class="paragraph"><p>where <code><old-oid></code> is the old object name stored in the ref,
+<code><new-oid></code> is the new object name to be stored in the ref and
<code><ref-name></code> is the full name of the ref.
-When creating a new ref, <code><old-value></code> is the all-zeroes object name.</p></div>
+When creating a new ref, <code><old-oid></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><old-value> SP <new-value> SP <ref-name> LF</code></pre>
+<pre><code><old-oid> SP <new-oid> SP <ref-name> LF</code></pre>
</div></div>
-<div class="paragraph"><p>where <code><old-value></code> is the old object name passed into the reference
-transaction, <code><new-value></code> is the new object name to be stored in the
+<div class="paragraph"><p>where <code><old-oid></code> is the old object name passed into the reference
+transaction, <code><new-oid></code> is the new object name to be stored in the
ref and <code><ref-name></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><old-value></code> is the all-zeroes object name. To
+to be created anew, <code><old-oid></code> is the all-zeroes object name. To
distinguish these cases, you can inspect the current value of
<code><ref-name></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>
|