author | Erik Faye-Lund <kusmabite@gmail.com> | |
Mon, 24 Oct 2011 16:02:11 +0000 (18:02 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 31 Oct 2011 01:45:21 +0000 (18:45 -0700) | ||
commit | c09cd77ea2fe3580b33918a99fe138d239ac2aaf | |
tree | d55158b903d42f10a2b8a2004081d110ddac364a | tree | snapshot |
parent | f0bd664977b25e68c1230a533dd644706cff3ae2 | commit | diff |
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.
Add an undocumented flag to git-archive that tells it that the
action originated from a remote, so features can be disabled.
Thanks to Jeff King for work on this part.
Remove the NOT_MINGW-prereq for t5000, as git-archive --remote
now works.
Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Helped-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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.
Add an undocumented flag to git-archive that tells it that the
action originated from a remote, so features can be disabled.
Thanks to Jeff King for work on this part.
Remove the NOT_MINGW-prereq for t5000, as git-archive --remote
now works.
Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Helped-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/archive.c | diff | blob | history | |
builtin/upload-archive.c | diff | blob | history | |
compat/mingw.h | diff | blob | history | |
t/t5000-tar-tree.sh | diff | blob | history |