Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git.c: make sure we do not leak GIT_* to alias scripts
[gitweb.git]
/
transport-helper.c
diff --git
a/transport-helper.c
b/transport-helper.c
index 68e498eebdda08f992e11154039e2e94e58f10d1..12f50d5b94802eed31bf36377f297bbd62f7d83c 100644
(file)
--- 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;