From: Junio C Hamano Date: Sun, 20 May 2007 18:25:24 GMT Subject: Re: [PATCH] allow commands to be executed in submodules Message-ID: <7vhcq7mjxn.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20070520181433.GA19668@steel.home> Alex Riesen writes: > Martin Waitz, Sun, May 20, 2007 17:39:08 +0200: >> Add an extra "submodule" field to struct child_process to be able to >> easily start commands which are to be executed in a submodule >> repository. > > How about making it more generic by allowing to specify the directory > to change to and environment for subprocess? You probably will be able > to convert even some of existing code to your new run_command then > (merge_recursive in builtin-revert.c, for example). Sounds useful and more generic.