aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNick Hengeveld <nickh@reactrix.com>2005-11-18 11:02:58 -0800
committerJunio C Hamano <junkio@cox.net>2005-11-19 20:17:24 -0800
commit29508e1efb8d5a18f78ca0f9be45fdde49ef6b76 (patch)
treef7c3d39fe3db6da3a307da385a7a1cb563ed15f7 /Makefile
parent80e21a9ed809d98788ff6fb705d911bee37d460b (diff)
downloadgit-29508e1efb8d5a18f78ca0f9be45fdde49ef6b76.tar.gz
git-29508e1efb8d5a18f78ca0f9be45fdde49ef6b76.tar.xz
Isolate shared HTTP request functionality
Move shared HTTP request functionality out of http-fetch and http-push, and replace the two fwrite_buffer/fwrite_buffer_dynamic functions with one fwrite_buffer function that does dynamic buffering. Use slot callbacks to process responses to fetch object transfer requests and push transfer requests, and put all of http-push into an #ifdef check for curl multi support. Signed-off-by: Nick Hengeveld <nickh@reactrix.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d8bb37575..285b3ed16 100644
--- a/Makefile
+++ b/Makefile
@@ -387,7 +387,8 @@ $(SIMPLE_PROGRAMS) : git-%$X : %.o
$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) \
$(LIB_FILE) $(SIMPLE_LIB)
-git-http-fetch$X: fetch.o
+git-http-fetch$X: fetch.o http.o
+git-http-push$X: http.o
git-local-fetch$X: fetch.o
git-ssh-fetch$X: rsh.o fetch.o
git-ssh-upload$X: rsh.o