Windows: start_command: Support non-NULL dir in struct child_process
authorJohannes Sixt <j6t@kdbg.org>
Sun, 11 Apr 2010 20:40:12 +0000 (22:40 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 11 Apr 2010 20:48:46 +0000 (13:48 -0700)
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 <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found