author | Tay Ray Chuan <rctay89@gmail.com> | |
Tue, 2 Mar 2010 10:49:31 +0000 (18:49 +0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 2 Mar 2010 19:10:36 +0000 (11:10 -0800) | ||
commit | 26e1e0b23a1d145f9fee699538c11bbbb996d558 | |
tree | 4c5b9ca62cb3a25374cab66a04b95024146bdd4c | tree | snapshot |
parent | aec49756020d20bd073e4daeaa5d7b4fed1fe300 | commit | diff |
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>
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 | diff | blob | history |