author | Johannes Sixt <j6t@kdbg.org> | |
Sun, 11 Apr 2010 20:40:12 +0000 (22:40 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 11 Apr 2010 20:48:46 +0000 (13:48 -0700) | ||
commit | f9a2743c3529baab6de650aa3e3eb96de9386fec | |
tree | c639acad982fb1fb3fa1f80915b6944361421a46 | tree | snapshot |
parent | eee49b6ce4b7b3fed28794676c67ad3609f658ac | commit | diff |
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 <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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>
compat/mingw.c | diff | blob | history | |
compat/mingw.h | diff | blob | history | |
run-command.c | diff | blob | history |