summaryrefslogtreecommitdiffstats
path: root/git.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-11-10 15:01:12 +0900
committerJunio C Hamano <gitster@pobox.com>2017-11-10 15:01:12 +0900
commit3a9c034734bf5aa3e3b139e72a6b0b96ddf0b3e9 (patch)
tree53a0176d8d930235e125d80c7705681f80bf1957 /git.html
parenta65b67605da51cd9b94659acdac8984dd205dcc7 (diff)
downloadgit-htmldocs-3a9c034734bf5aa3e3b139e72a6b0b96ddf0b3e9.tar.gz
Autogenerated HTML docs for v2.15.0-164-g4123b
Diffstat (limited to 'git.html')
-rw-r--r--git.html28
1 files changed, 27 insertions, 1 deletions
diff --git a/git.html b/git.html
index 9a2d5a0b3..5bbeb0965 100644
--- a/git.html
+++ b/git.html
@@ -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&gt;&amp;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>