From 888692b733b3109874bb570bb0680e93287ed338 Mon Sep 17 00:00:00 2001 From: Tay Ray Chuan Date: Tue, 2 Mar 2010 18:49:29 +0800 Subject: 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 Signed-off-by: Junio C Hamano --- walker.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'walker.h') diff --git a/walker.h b/walker.h index 8a149e1108..95e5765484 100644 --- a/walker.h +++ b/walker.h @@ -34,6 +34,6 @@ int walker_fetch(struct walker *impl, int targets, char **target, void walker_free(struct walker *walker); -struct walker *get_http_walker(const char *url, struct remote *remote); +struct walker *get_http_walker(const char *url); #endif /* WALKER_H */ -- cgit v1.2.3