diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-08-07 14:43:20 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-08-07 16:24:30 -0700 |
commit | db5723c6283d9a8dff3397c432af80cf5e2f7766 (patch) | |
tree | 568795fe12ab6e5d6c60f1698123349ca10ada61 /contrib | |
parent | fetch: rename file-scope global "transport" to "gtransport" (diff) | |
download | tgif-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