diff options
author | Jeff King <peff@peff.net> | 2011-11-19 02:40:04 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-11-21 14:32:40 -0800 |
commit | 1bc01efed17c751e98fd6c5f9889759bfa9a8e9b (patch) | |
tree | d3c22123346cf9d31f09d49e5a8ead00dcf73fb1 /builtin.h | |
parent | f56ef114eeefee755f422e6cbef2d83974cb90f1 (diff) | |
download | git-1bc01efed17c751e98fd6c5f9889759bfa9a8e9b.tar.gz git-1bc01efed17c751e98fd6c5f9889759bfa9a8e9b.tar.xz |
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>
Diffstat (limited to 'builtin.h')
-rw-r--r-- | builtin.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -133,6 +133,7 @@ extern int cmd_update_index(int argc, const char **argv, const char *prefix); extern int cmd_update_ref(int argc, const char **argv, const char *prefix); extern int cmd_update_server_info(int argc, const char **argv, const char *prefix); extern int cmd_upload_archive(int argc, const char **argv, const char *prefix); +extern int cmd_upload_archive_writer(int argc, const char **argv, const char *prefix); extern int cmd_upload_tar(int argc, const char **argv, const char *prefix); extern int cmd_var(int argc, const char **argv, const char *prefix); extern int cmd_verify_tag(int argc, const char **argv, const char *prefix); |