<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/git.git/exec_cmd.c, branch v1.5.0.7</title>
<subtitle>Git
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.5.0.7</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.5.0.7'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/'/>
<updated>2006-12-19T09:51:51Z</updated>
<entry>
<title>Use preprocessor constants for environment variable names.</title>
<updated>2006-12-19T09:51:51Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-12-19T09:28:15Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=d4ebc36c5ee964592303c59260417b758d024c31'/>
<id>urn:sha1:d4ebc36c5ee964592303c59260417b758d024c31</id>
<content type='text'>
We broke the discipline Linus set up to allow compiler help us
avoid typos in environment names in the early days of git over
time.  This defines a handful preprocessor constants for
environment variable names used in relatively core parts of the
system.

I've left out variable names specific to subsystems such as HTTP
and SSL as I do not think they are big problems.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Trace into open fd and refactor tracing code.</title>
<updated>2006-08-31T21:16:38Z</updated>
<author>
<name>Christian Couder</name>
<email>chriscool@tuxfamily.org</email>
</author>
<published>2006-08-31T06:42:11Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=7cf67205ca68a157c6ffdb4e5a4ff231217c0871'/>
<id>urn:sha1:7cf67205ca68a157c6ffdb4e5a4ff231217c0871</id>
<content type='text'>
Now if GIT_TRACE is set to an integer value greater than 1
and lower than 10, we interpret this as an open fd value
and we trace into it. Note that this behavior is not
compatible with the previous one.

We also trace whole messages using one write(2) call to
make sure messages from processes do net get mixed up in
the middle.

It's now possible to run the tests like this:

	GIT_TRACE=9 make test 9&gt;/var/tmp/trace.log

Signed-off-by: Christian Couder &lt;chriscool@tuxfamily.org&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>remove unnecessary initializations</title>
<updated>2006-08-16T04:22:20Z</updated>
<author>
<name>David Rientjes</name>
<email>rientjes@google.com</email>
</author>
<published>2006-08-15T17:23:48Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=96f1e58f524fac8607cfc38896b365b6e8365b51'/>
<id>urn:sha1:96f1e58f524fac8607cfc38896b365b6e8365b51</id>
<content type='text'>
[jc: I needed to hand merge the changes to the updated codebase,
 so the result needs to be checked.]

Signed-off-by: David Rientjes &lt;rientjes@google.com&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>GIT_TRACE: fix a mixed declarations and code warning</title>
<updated>2006-07-09T07:57:23Z</updated>
<author>
<name>Timo Hirvonen</name>
<email>tihirvon@gmail.com</email>
</author>
<published>2006-06-28T09:15:00Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=e82e058d3ad1d50fbb99fac8630ad7b511ca4abe'/>
<id>urn:sha1:e82e058d3ad1d50fbb99fac8630ad7b511ca4abe</id>
<content type='text'>
Signed-off-by: Timo Hirvonen &lt;tihirvon@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>GIT_TRACE: show which built-in/external commands are executed</title>
<updated>2006-07-09T07:57:23Z</updated>
<author>
<name>Matthias Lederhofer</name>
<email>matled@gmx.net</email>
</author>
<published>2006-06-25T13:56:18Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=575ba9d69d5dfd07d95343fe946a5991c4cb27d6'/>
<id>urn:sha1:575ba9d69d5dfd07d95343fe946a5991c4cb27d6</id>
<content type='text'>
With the environment variable GIT_TRACE set git will show
 - alias expansion
 - built-in command execution
 - external command execution
on stderr.

Signed-off-by: Matthias Lederhofer &lt;matled@gmx.net&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git_exec_path, execv_git_cmd: ignore empty environment variables</title>
<updated>2006-05-31T04:49:01Z</updated>
<author>
<name>Dmitry V. Levin</name>
<email>ldv@altlinux.org</email>
</author>
<published>2006-05-29T00:34:34Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=2b6016263c984b71b29373fc9354d497cd51947d'/>
<id>urn:sha1:2b6016263c984b71b29373fc9354d497cd51947d</id>
<content type='text'>
Ignoring empty environment variables is good common practice.
Ignoring --exec-path with empty argument won't harm, too:
if user means current directory, there is a "--exec-path=."

Signed-off-by: Dmitry V. Levin &lt;ldv@altlinux.org&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>execv_git_cmd: Fix stack buffer overflow.</title>
<updated>2006-05-31T04:47:29Z</updated>
<author>
<name>Dmitry V. Levin</name>
<email>ldv@altlinux.org</email>
</author>
<published>2006-05-30T14:58:52Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=d6859901012535b3781e5332923ede51d5977395'/>
<id>urn:sha1:d6859901012535b3781e5332923ede51d5977395</id>
<content type='text'>
Signed-off-by: Dmitry V. Levin &lt;ldv@altlinux.org&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>cleanups: remove unused variable from exec_cmd.c</title>
<updated>2006-04-17T22:06:40Z</updated>
<author>
<name>Serge E. Hallyn</name>
<email>serue@us.ibm.com</email>
</author>
<published>2006-04-17T15:14:48Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=bb996614de4fddfa73286479f3c6a901107a2629'/>
<id>urn:sha1:bb996614de4fddfa73286479f3c6a901107a2629</id>
<content type='text'>
Not sure whether it should be removed, or whether
execv_git_cmd() should return it rather than -1 at bottom.

Signed-off-by: Serge E. Hallyn &lt;serue@us.ibm.com&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Use #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))</title>
<updated>2006-03-09T19:58:05Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-03-09T19:58:05Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=b4f2a6ac9263d6e9bf3bf9c8abe607cd6def0ee8'/>
<id>urn:sha1:b4f2a6ac9263d6e9bf3bf9c8abe607cd6def0ee8</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Const tightening.</title>
<updated>2006-03-05T10:47:29Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-03-05T10:47:29Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=9201c707426b3dc0c894775416f576c25c008d46'/>
<id>urn:sha1:9201c707426b3dc0c894775416f576c25c008d46</id>
<content type='text'>
Mark Wooding noticed there was a type mismatch warning in git.c; this
patch does things slightly differently (mostly tightening const) and
was what I was holding onto, waiting for the setup-revisions change
to be merged into the master branch.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
</feed>
