diff options
author | Junio C Hamano <gitster@pobox.com> | 2024-02-08 15:48:36 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-02-08 15:48:36 -0800 |
commit | 6546a509a43eda541b7749ee45837d7a74ba7339 (patch) | |
tree | a4753bbbeb6fa8a064cbcf570aadb5d4354a1ceb /githooks.html | |
parent | c2015e3db30c76ee24b99a14d244f62f1467f581 (diff) | |
download | git-htmldocs-6546a509a43eda541b7749ee45837d7a74ba7339.tar.gz |
Autogenerated HTML docs for v2.43.0-581-g5216f
Diffstat (limited to 'githooks.html')
-rw-r--r-- | githooks.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/githooks.html b/githooks.html index 6d1777df2..b322d8d57 100644 --- a/githooks.html +++ b/githooks.html @@ -945,7 +945,7 @@ named remote is not being used both values will be the same.</p></div> input with lines of the form:</p></div>
<div class="literalblock">
<div class="content">
-<pre><code><local ref> SP <local object name> SP <remote ref> SP <remote object name> LF</code></pre>
+<pre><code><local-ref> SP <local-object-name> SP <remote-ref> SP <remote-object-name> LF</code></pre>
</div></div>
<div class="paragraph"><p>For instance, if the command <code>git push origin master:foreign</code> were run the
hook would receive a line like the following:</p></div>
@@ -954,9 +954,9 @@ hook would receive a line like the following:</p></div> <pre><code>refs/heads/master 67890 refs/heads/foreign 12345</code></pre>
</div></div>
<div class="paragraph"><p>although the full object name would be supplied. If the foreign ref does not
-yet exist the <code><remote object name></code> will be the all-zeroes object name. If a
-ref is to be deleted, the <code><local ref></code> will be supplied as <code>(delete)</code> and the
-<code><local object name></code> will be the all-zeroes object name. If the local commit
+yet exist the <code><remote-object-name></code> will be the all-zeroes object name. If a
+ref is to be deleted, the <code><local-ref></code> will be supplied as <code>(delete)</code> and the
+<code><local-object-name></code> will be the all-zeroes object name. If the local commit
was specified by something other than a name which could be expanded (such as
<code>HEAD~</code>, or an object name) it will be supplied as it was originally given.</p></div>
<div class="paragraph"><p>If this hook exits with a non-zero status, <code>git push</code> will abort without
@@ -1442,7 +1442,7 @@ running passing "1", "1" should not be possible.</p></div> <div id="footer">
<div id="footer-text">
Last updated
- 2023-10-23 14:43:46 PDT
+ 2024-02-08 15:45:59 PST
</div>
</div>
</body>
|