diff options
author | Nick Hengeveld <nickh@reactrix.com> | 2005-11-18 11:02:58 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-11-19 20:17:24 -0800 |
commit | 29508e1efb8d5a18f78ca0f9be45fdde49ef6b76 (patch) | |
tree | f7c3d39fe3db6da3a307da385a7a1cb563ed15f7 /Makefile | |
parent | merge-recursive::removeFile: remove empty directories (diff) | |
download | tgif-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-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |