Code

remote-curl: Refactor walker initialization
authorShawn O. Pearce <spearce@spearce.org>
Sat, 31 Oct 2009 00:47:26 +0000 (17:47 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 31 Oct 2009 02:20:54 +0000 (19:20 -0700)
commit37a8768f83d5932ca66202f9cc4977c20b022e17
tree2b2dba18b162032a8f0ea440601f332f977bd471
parent78affc49ded26700450d25168534af02b29a6c61
remote-curl: Refactor walker initialization

We will need the walker, url and remote in other functions as the
code grows larger to support smart HTTP.  Extract this out into a
set of globals we can easily reference once configured.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
CC: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
remote-curl.c