summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-08-07 14:43:20 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-08-07 16:24:30 -0700
commitdb5723c6283d9a8dff3397c432af80cf5e2f7766 (patch)
tree568795fe12ab6e5d6c60f1698123349ca10ada61 /contrib
parentfetch: rename file-scope global "transport" to "gtransport" (diff)
downloadtgif-db5723c6283d9a8dff3397c432af80cf5e2f7766.tar.xz
fetch: refactor code that prepares a transport
Make a helper function prepare_transport() that returns a transport to talk to a given remote. The set_option() helper that used to always affect the file-scope global "gtransport" now takes a transport as its parameter. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions