X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=transport.c;h=4ff21ad28d89c6a4fc39628d358662bc7790ffde;hb=b76c561a74cd366786b7b762795fba1551b42149;hp=c048ef179b732c2b1e1ca6531b196b313f0f05ee;hpb=bf604e64fb505738eff2ef7b347635fcd93b776f;p=git.git diff --git a/transport.c b/transport.c index c048ef179..4ff21ad28 100644 --- a/transport.c +++ b/transport.c @@ -907,7 +907,7 @@ struct transport *transport_get(struct remote *remote, const char *url) ret->fetch = fetch_objs_via_rsync; ret->push = rsync_transport_push; ret->smart_options = NULL; - } else if (is_local(url) && is_file(url)) { + } else if (is_local(url) && is_file(url) && is_bundle(url, 1)) { struct bundle_transport_data *data = xcalloc(1, sizeof(*data)); ret->data = data; ret->get_refs_list = get_refs_from_bundle;