]> git.ipfire.org Git - thirdparty/git.git/blobdiff - transport-helper.c
Sync with 2.16.6
[thirdparty/git.git] / transport-helper.c
index de2cd44d53b805ffb24eb4623073b4e4d0ddc106..ecd4c69090156e92d09f33f99ef63a157db72796 100644 (file)
@@ -673,6 +673,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);