http: init and cleanup separately from http-walker
commit888692b733b3109874bb570bb0680e93287ed338
authorTay Ray Chuan <rctay89@gmail.com>
Tue, 2 Mar 2010 10:49:29 +0000 (2 18:49 +0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 Mar 2010 19:10:36 +0000 (2 11:10 -0800)
treef946cffbd49e62c3a85de0cba8ee415ad4125a52
parent09ae9aca14750f00c9e25fd16cdf60819fb410a8
http: init and cleanup separately from http-walker

Previously, all our http operations were done with http-walker. With the
new remote-curl helper, we find ourselves using http methods outside of
http-walker - for example, fetching info/refs.

Accomodate this by separating http_init() and http_cleanup() invocations
from http-walker.

Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http-fetch.c
http-walker.c
remote-curl.c
walker.h