remote-curl: init walker only when needed
commit26e1e0b23a1d145f9fee699538c11bbbb996d558
authorTay Ray Chuan <rctay89@gmail.com>
Tue, 2 Mar 2010 10:49:31 +0000 (2 18:49 +0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 Mar 2010 19:10:36 +0000 (2 11:10 -0800)
tree4c5b9ca62cb3a25374cab66a04b95024146bdd4c
parentaec49756020d20bd073e4daeaa5d7b4fed1fe300
remote-curl: init walker only when needed

Invoke get_http_walker() only when fetching with the dumb protocol.
Additionally, add an invocation to walker_free() after we're done using
the walker.

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