diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-11-10 15:01:12 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-11-10 15:01:12 +0900 |
commit | 3a9c034734bf5aa3e3b139e72a6b0b96ddf0b3e9 (patch) | |
tree | 53a0176d8d930235e125d80c7705681f80bf1957 /git.html | |
parent | a65b67605da51cd9b94659acdac8984dd205dcc7 (diff) | |
download | git-htmldocs-3a9c034734bf5aa3e3b139e72a6b0b96ddf0b3e9.tar.gz |
Autogenerated HTML docs for v2.15.0-164-g4123b
Diffstat (limited to 'git.html')
-rw-r--r-- | git.html | 28 |
1 files changed, 27 insertions, 1 deletions
@@ -2961,6 +2961,32 @@ of clones and fetches.</p></div> other operations on the repository. Defaults to <code>1</code>.
</p>
</dd>
+<dt class="hdlist1">
+<code>GIT_REDIRECT_STDIN</code>
+</dt>
+<dt class="hdlist1">
+<code>GIT_REDIRECT_STDOUT</code>
+</dt>
+<dt class="hdlist1">
+<code>GIT_REDIRECT_STDERR</code>
+</dt>
+<dd>
+<p>
+ Windows-only: allow redirecting the standard input/output/error
+ handles to paths specified by the environment variables. This is
+ particularly useful in multi-threaded applications where the
+ canonical way to pass standard handles via <code>CreateProcess()</code> is
+ not an option because it would require the handles to be marked
+ inheritable (and consequently <strong>every</strong> spawned process would
+ inherit them, possibly blocking regular Git operations). The
+ primary intended use case is to use named pipes for communication
+ (e.g. <code>\\.\pipe\my-git-stdin-123</code>).
+</p>
+<div class="paragraph"><p>Two special values are supported: <code>off</code> will simply close the
+corresponding standard handle, and if <code>GIT_REDIRECT_STDERR</code> is
+<code>2>&1</code>, standard error will be redirected to the same handle as
+standard output.</p></div>
+</dd>
</dl></div>
</div>
</div>
@@ -3069,7 +3095,7 @@ subscribed to the list to send a message there.</p></div> <div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2017-10-03 16:10:36 JST
+Last updated 2017-11-10 15:00:41 JST
</div>
</div>
</body>
|