summaryrefslogtreecommitdiff
path: root/contrib/mw-to-git/t
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2015-09-22 18:03:49 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-09-25 15:28:36 -0700
commit5088d3b38775f8ac12d7f77636775b16059b67ef (patch)
treed7530a9bc0fba6dfa3d76c116f8401965d966d3e /contrib/mw-to-git/t
parentsubmodule: allow only certain protocols for submodule fetches (diff)
downloadtgif-5088d3b38775f8ac12d7f77636775b16059b67ef.tar.xz
transport: refactor protocol whitelist code
The current callers only want to die when their transport is prohibited. But future callers want to query the mechanism without dying. Let's break out a few query functions, and also save the results in a static list so we don't have to re-parse for each query. Based-on-a-patch-by: Blake Burkhart <bburky@bburky.com> Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/mw-to-git/t')
0 files changed, 0 insertions, 0 deletions