summaryrefslogtreecommitdiffstats
path: root/transport-helper.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-09-29 00:33:56 +0200
committerJunio C Hamano <gitster@pobox.com>2015-09-29 00:33:56 +0200
commit11a458befcd7662fbe6d2d53c76d49ae2b0fe219 (patch)
treede4cf6a8a43cb30b53f924ed8820de09409f0afd /transport-helper.c
parentGit 2.5.3 (diff)
parentGit 2.4.10 (diff)
downloadgit-11a458befcd7662fbe6d2d53c76d49ae2b0fe219.tar.xz
git-11a458befcd7662fbe6d2d53c76d49ae2b0fe219.zip
Sync with 2.4.10
Diffstat (limited to 'transport-helper.c')
-rw-r--r--transport-helper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/transport-helper.c b/transport-helper.c
index 68e498eebd..12f50d5b94 100644
--- a/transport-helper.c
+++ b/transport-helper.c
@@ -1043,6 +1043,8 @@ int transport_helper_init(struct transport *transport, const char *name)
struct helper_data *data = xcalloc(1, sizeof(*data));
data->name = name;
+ transport_check_allowed(name);
+
if (getenv("GIT_TRANSPORT_HELPER_DEBUG"))
debug = 1;