Merge branch 'ab/sha1dc-build'
[gitweb.git] / transport-helper.c
index 508015023176290ec0f8d78043d852cdd37d5ce6..3f380d87d99eab317d5ac567b43e3cea05885145 100644 (file)
@@ -672,6 +672,11 @@ static int fetch(struct transport *transport,
        if (data->transport_options.update_shallow)
                set_helper_option(transport, "update-shallow", "true");
 
+       if (data->transport_options.filter_options.choice)
+               set_helper_option(
+                       transport, "filter",
+                       data->transport_options.filter_options.filter_spec);
+
        if (data->fetch)
                return fetch_with_fetch(transport, nr_heads, to_fetch);