Code

Teach progress eye-candy to fetch_refs_from_bundle()
[git.git] / transport.c
index a02f79aae3d91ea4109d21a9ed9ca2d962125375..ca01500668f5096cd31d464a6f2995f60be0e3d6 100644 (file)
@@ -431,7 +431,8 @@ static int fetch_refs_from_bundle(struct transport *transport,
                               int nr_heads, struct ref **to_fetch)
 {
        struct bundle_transport_data *data = transport->data;
-       return unbundle(&data->header, data->fd);
+       return unbundle(&data->header, data->fd,
+                       transport->progress ? BUNDLE_VERBOSE : 0);
 }
 
 static int close_bundle(struct transport *transport)