summaryrefslogtreecommitdiff
path: root/branch.c
diff options
context:
space:
mode:
authorLibravatar Brandon Williams <bmwill@google.com>2018-07-20 15:07:54 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-07-20 15:25:19 -0700
commit402c47d939160acc389bbff083fbce9f5482a275 (patch)
treec782b9a46c21ab20d975deac0b3e780246870748 /branch.c
parentGit 2.18 (diff)
downloadtgif-402c47d939160acc389bbff083fbce9f5482a275.tar.xz
clone: send ref-prefixes when using protocol v2
Teach clone to send a list of ref-prefixes, when using protocol v2, to allow the server to filter out irrelevant references from the ref-advertisement. This reduces wasted time and bandwidth when cloning repositories with a larger number of references. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'branch.c')
0 files changed, 0 insertions, 0 deletions