diff options
author | Jeff Hostetler <jeffhost@microsoft.com> | 2017-12-08 15:58:40 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-12-08 09:58:51 -0800 |
commit | 640d8b72feaae0b96d5faa663ad624963e416d54 (patch) | |
tree | 9e5270af4e27b34c52e7a80510ecf7fb8a1c5303 /transport-helper.c | |
parent | 10ac85c785afed4163ed931149a87b30c7c5eaf9 (diff) | |
download | git-640d8b72feaae0b96d5faa663ad624963e416d54.tar.gz |
fetch-pack, index-pack, transport: partial clone
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'transport-helper.c')
-rw-r--r-- | transport-helper.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/transport-helper.c b/transport-helper.c index c948d5215c..0650ca003f 100644 --- a/transport-helper.c +++ b/transport-helper.c @@ -671,6 +671,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); |