summaryrefslogtreecommitdiff
path: root/walker.h
diff options
context:
space:
mode:
authorTay Ray Chuan <rctay89@gmail.com>2010-03-02 10:49:29 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-03-02 19:10:36 (GMT)
commit888692b733b3109874bb570bb0680e93287ed338 (patch)
treef946cffbd49e62c3a85de0cba8ee415ad4125a52 /walker.h
parent09ae9aca14750f00c9e25fd16cdf60819fb410a8 (diff)
downloadgit-888692b733b3109874bb570bb0680e93287ed338.zip
git-888692b733b3109874bb570bb0680e93287ed338.tar.gz
git-888692b733b3109874bb570bb0680e93287ed338.tar.bz2
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>
Diffstat (limited to 'walker.h')
-rw-r--r--walker.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/walker.h b/walker.h
index 8a149e1..95e5765 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 */