summaryrefslogtreecommitdiffstats
path: root/git-hook.html
diff options
context:
space:
mode:
Diffstat (limited to 'git-hook.html')
-rw-r--r--git-hook.html14
1 files changed, 12 insertions, 2 deletions
diff --git a/git-hook.html b/git-hook.html
index 8b1bf6e0e..45a6e23d4 100644
--- a/git-hook.html
+++ b/git-hook.html
@@ -749,7 +749,7 @@ git-hook(1) Manual Page
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="verseblock">
-<pre class="content"><em>git hook</em> run [--ignore-missing] &lt;hook-name&gt; [-- &lt;hook-args&gt;]</pre>
+<pre class="content"><em>git hook</em> run [--ignore-missing] [--to-stdin=&lt;path&gt;] &lt;hook-name&gt; [-- &lt;hook-args&gt;]</pre>
<div class="attribution">
</div></div>
</div>
@@ -785,6 +785,16 @@ mandatory <code>--</code> (or <code>--end-of-options</code>, see <a href="gitcli
<div class="sectionbody">
<div class="dlist"><dl>
<dt class="hdlist1">
+--to-stdin
+</dt>
+<dd>
+<p>
+ For "run"; Specify a file which will be streamed into the
+ hook&#8217;s stdin. The hook will receive the entire file from
+ beginning to EOF.
+</p>
+</dd>
+<dt class="hdlist1">
--ignore-missing
</dt>
<dd>
@@ -814,7 +824,7 @@ mandatory <code>--</code> (or <code>--end-of-options</code>, see <a href="gitcli
<div id="footer">
<div id="footer-text">
Last updated
- 2022-02-16 17:29:08 PST
+ 2023-02-22 15:29:29 PST
</div>
</div>
</body>