upload-archive: use start_command instead of forkwin32-upload-archive-v1
commitb483cd9e96aec7cbb0af8886f3b458ad6a36f960
authorErik Faye-Lund <kusmabite@gmail.com>
Wed, 29 Jun 2011 15:26:11 +0000 (29 17:26 +0200)
committerErik Faye-Lund <kusmabite@gmail.com>
Thu, 7 Jul 2011 11:31:43 +0000 (7 13:31 +0200)
tree4e8176e6f43336cb02bfb02a9d17fdbc74339e2e
parent60ee2a316cd8f8a3afbd241e86e5ca28696948bf
upload-archive: use start_command instead of fork

The POSIX-function fork is not supported on Windows. Use our
start_command API instead.

As this is the last call-site that depends on the fork-stub in
compat/mingw.h, remove that as well.

Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
builtin/upload-archive.c
compat/mingw.h