aboutsummaryrefslogtreecommitdiff
path: root/builtin.h
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2011-11-19 02:40:04 -0500
committerJunio C Hamano <gitster@pobox.com>2011-11-21 14:32:40 -0800
commit1bc01efed17c751e98fd6c5f9889759bfa9a8e9b (patch)
treed3c22123346cf9d31f09d49e5a8ead00dcf73fb1 /builtin.h
parentf56ef114eeefee755f422e6cbef2d83974cb90f1 (diff)
downloadgit-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin.h b/builtin.h
index 0e9da9083..f2357a94c 100644
--- a/builtin.h
+++ b/builtin.h
@@ -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);