]> git.ipfire.org Git - thirdparty/git.git/blobdiff - transport-helper.c
Merge branch 'bw/protocol-v2'
[thirdparty/git.git] / transport-helper.c
index aecbc4a845c931efdb41414df4603d8fda5d09b7..11f1055b47e5e204a272e3588f74f161bdf73895 100644 (file)
@@ -692,6 +692,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);