summaryrefslogtreecommitdiff
path: root/transport.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-08-01 11:07:35 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-08-01 11:07:35 -0700
commit35e22d54ed3ee237a88c8e7ddeae7f1305011830 (patch)
tree1421aee105aa674d606ffe58891e38b8a2b0f41d /transport.c
parentnegotiator/skipping: skip commits during fetch (diff)
parentfetch-pack: support negotiation tip whitelist (diff)
downloadtgif-35e22d54ed3ee237a88c8e7ddeae7f1305011830.tar.xz
Merge branch 'jt/fetch-nego-tip' into ab/fetch-nego
* jt/fetch-nego-tip: fetch-pack: support negotiation tip whitelist
Diffstat (limited to 'transport.c')
-rw-r--r--transport.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/transport.c b/transport.c
index a32da30dee..9f10f8ad9f 100644
--- a/transport.c
+++ b/transport.c
@@ -318,6 +318,7 @@ static int fetch_refs_via_pack(struct transport *transport,
args.filter_options = data->options.filter_options;
args.stateless_rpc = transport->stateless_rpc;
args.server_options = transport->server_options;
+ args.negotiation_tips = data->options.negotiation_tips;
if (!data->got_remote_heads)
refs_tmp = get_refs_via_connect(transport, 0, NULL);