From: Alex Riesen Date: Tue, 22 May 2007 21:51:34 GMT Subject: Re: [PATCH] Add ability to specify environment extension to run_command 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: > 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.