remote-curl: use http_fetch_ref() instead of walker wrapper
authorTay Ray Chuan <rctay89@gmail.com>
Tue, 2 Mar 2010 10:49:30 +0000 (18:49 +0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 Mar 2010 19:10:36 +0000 (11:10 -0800)
commitaec49756020d20bd073e4daeaa5d7b4fed1fe300
tree310fe3d007767fce5cbcd8576696989527dfe2d2
parent888692b733b3109874bb570bb0680e93287ed338
remote-curl: use http_fetch_ref() instead of walker wrapper

The http-walker implementation of walker->fetch_ref() doesn't do
anything special compared to http_fetch_ref() anyway.

Remove init_walker() invocation before fetching the ref, since we aren't
using the walker wrapper and don't need a walker instance anymore.

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