Re: [PATCH] Add ability to specify environment extension to run_command
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- May 22, 2007, 21:51 UTC
- Message-ID
- <20070522215134.GH30871@steel.home>
- In-Reply-To
- <7v646l9xkn.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano, Tue, May 22, 2007 08:33:44 +0200:
Show 8 quoted lines
> struct child_process {
> ...
> const struct {
> const char *name;
> const char *value; /* NULL to unsetenv */
> } *env;
> ...
> };I actually like how the environment is organized. And it is simple to define in the source. And there are well-known routines for environment-like array manipulation.