diff --git a/transport.c b/transport.c
index c048ef179b732c2b1e1ca6531b196b313f0f05ee..4ff21ad28d89c6a4fc39628d358662bc7790ffde 100644 (file)
--- a/transport.c
+++ b/transport.c
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;