Code

upload-archive: use start_command instead of fork
authorJeff King <peff@peff.net>
Sat, 19 Nov 2011 07:40:04 +0000 (02:40 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 21 Nov 2011 22:32:40 +0000 (14:32 -0800)
commit1bc01efed17c751e98fd6c5f9889759bfa9a8e9b
treed3c22123346cf9d31f09d49e5a8ead00dcf73fb1
parentf56ef114eeefee755f422e6cbef2d83974cb90f1
upload-archive: use start_command instead of fork

The POSIX-function fork is not supported on Windows. Use our
start_command API instead, respawning ourselves in a special
"writer" mode to follow the alternate code path.

Remove the NOT_MINGW-prereq for t5000, as git-archive --remote
now works.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin.h
builtin/upload-archive.c
git.c
t/t5000-tar-tree.sh