From: Johannes Sixt Date: Sun, 11 Apr 2010 20:40:12 +0000 (+0200) Subject: Windows: start_command: Support non-NULL dir in struct child_process X-Git-Tag: v1.7.1-rc2~15^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/f9a2743c3529baab6de650aa3e3eb96de9386fec?hp=f9a2743c3529baab6de650aa3e3eb96de9386fec Windows: start_command: Support non-NULL dir in struct child_process A caller of start_command can set the member 'dir' to a directory to request that the child process starts with that directory as CWD. The first user of this feature was added recently in eee49b6 (Teach diff --submodule and status to handle .git files in submodules). On Windows, we have been lazy and had not implemented support for this feature, yet. This fixes the shortcoming. Signed-off-by: Johannes Sixt Signed-off-by: Junio C Hamano ---