commit: --amend -m '' silently fails to wipe message
[gitweb.git] / transport-helper.c
index 5d99a6bc2e7a10d40f6d8213e2f3cad254dbdb04..b486441c48967997925decad012c73af0a98347d 100644 (file)
@@ -1039,6 +1039,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;