<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/technical/api-run-command.txt, branch v1.6.3</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.6.3</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.6.3'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2009-01-18T01:57:15Z</updated>
<entry>
<title>run_hook(): allow more than 9 hook arguments</title>
<updated>2009-01-18T01:57:15Z</updated>
<author>
<name>Stephan Beyer</name>
<email>s-beyer@gmx.net</email>
</author>
<published>2009-01-17T03:02:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=14e6298f1215da503f0f65b63e13d674dd781868'/>
<id>urn:sha1:14e6298f1215da503f0f65b63e13d674dd781868</id>
<content type='text'>
This is done using the ALLOC_GROW macro.

Signed-off-by: Stephan Beyer &lt;s-beyer@gmx.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>api-run-command.txt: talk about run_hook()</title>
<updated>2009-01-18T01:16:34Z</updated>
<author>
<name>Stephan Beyer</name>
<email>s-beyer@gmx.net</email>
</author>
<published>2009-01-16T19:10:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=35d5ae679c2a6bc2a5f70f9209844ae8c14ae9e3'/>
<id>urn:sha1:35d5ae679c2a6bc2a5f70f9209844ae8c14ae9e3</id>
<content type='text'>
Signed-off-by: Stephan Beyer &lt;s-beyer@gmx.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>run-command.c: remove run_command_v_opt_cd()</title>
<updated>2008-10-03T01:02:44Z</updated>
<author>
<name>Nanako Shiraishi</name>
<email>nanako3@lavabit.com</email>
</author>
<published>2008-10-02T10:14:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7996ff335e675b229398974f6cbf459843c9bf6d'/>
<id>urn:sha1:7996ff335e675b229398974f6cbf459843c9bf6d</id>
<content type='text'>
This function is not used anywhere.

Johannes Sixt &lt;johannes.sixt@telecom.at&gt;:
&gt; Future callers can use run_command_v_opt_cd_env() instead.

Signed-off-by: Nanako Shiraishi &lt;nanako3@lavabit.com&gt;
Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>api-run-command.txt: typofix</title>
<updated>2008-07-18T03:50:06Z</updated>
<author>
<name>Stephan Beyer</name>
<email>s-beyer@gmx.net</email>
</author>
<published>2008-07-17T23:53:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6c69207c73aaf63c13105d526453d0bd75f12f34'/>
<id>urn:sha1:6c69207c73aaf63c13105d526453d0bd75f12f34</id>
<content type='text'>
Replace "run_command_v_opt_dir" by "run_command_v_opt_cd".

Signed-off-by: Stephan Beyer &lt;s-beyer@gmx.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>run-command documentation: fix "memset()" parameter</title>
<updated>2008-06-17T04:31:17Z</updated>
<author>
<name>Miklos Vajna</name>
<email>vmiklos@frugalware.org</email>
</author>
<published>2008-06-14T01:01:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9e18522328dc6ba2cf49b56fa7a54c14ad4df840'/>
<id>urn:sha1:9e18522328dc6ba2cf49b56fa7a54c14ad4df840</id>
<content type='text'>
When initializing the struct async and struct child_process structures,
the documentation suggested "clearing" the structure with '0' instead of
'\0'.  It is enough to use integer zero here.

Signed-off-by: Miklos Vajna &lt;vmiklos@frugalware.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>run-command: Redirect stderr to a pipe before redirecting stdout to stderr</title>
<updated>2008-03-05T20:18:03Z</updated>
<author>
<name>Christian Couder</name>
<email>chriscool@tuxfamily.org</email>
</author>
<published>2008-03-05T07:35:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ce2cf27adc434c11cd1e91bcacf00297efd8cc92'/>
<id>urn:sha1:ce2cf27adc434c11cd1e91bcacf00297efd8cc92</id>
<content type='text'>
With this patch, in the 'start_command' function after forking
we now take care of stderr in the child process before stdout.

This way if 'start_command' is called with a 'child_process'
argument like this:

	.err = -1;
	.stdout_to_stderr = 1;

then stderr will be redirected to a pipe before stdout is
redirected to stderr. So we can now get the process' stdout
from the pipe (as well as its stderr).

Earlier such a call would have redirected stdout to stderr
before stderr was itself redirected, and therefore stdout
would not have followed stderr, which would not have been
very useful anyway.

Update documentation in 'api-run-command.txt' accordingly.

Signed-off-by: Christian Couder &lt;chriscool@tuxfamily.org&gt;
Acked-by: Johannes Sixt &lt;johannes.sixt@telecom.at&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Fix doc typos.</title>
<updated>2008-03-03T00:08:37Z</updated>
<author>
<name>Ralf Wildenhues</name>
<email>Ralf.Wildenhues@gmx.de</email>
</author>
<published>2008-03-02T23:07:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=34cd62eb91600109378c8121c1fecd924a9af177'/>
<id>urn:sha1:34cd62eb91600109378c8121c1fecd924a9af177</id>
<content type='text'>
Signed-off-by: Ralf Wildenhues &lt;Ralf.Wildenhues@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Technical documentation of the run-command API.</title>
<updated>2008-02-20T05:37:36Z</updated>
<author>
<name>Johannes Sixt</name>
<email>johannes.sixt@telecom.at</email>
</author>
<published>2008-02-18T19:23:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b9dfe51c96cfc258cb0bc41433853892c35e0beb'/>
<id>urn:sha1:b9dfe51c96cfc258cb0bc41433853892c35e0beb</id>
<content type='text'>
Signed-off-by: Johannes Sixt &lt;johannes.sixt@telecom.at&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Start preparing the API documents.</title>
<updated>2007-12-15T06:29:38Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2007-11-25T07:48:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=530e741c726a612d78de21957d531dd2215483b4'/>
<id>urn:sha1:530e741c726a612d78de21957d531dd2215483b4</id>
<content type='text'>
Most of them are still stubs, but the procedure to build the HTML
documentation, maintaining the index and installing the end product are
there.

I placed names of people who are likely to know the most about the topic
in the stub files, so that volunteers will know whom to ask questions as
needed.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
