summaryrefslogtreecommitdiff
path: root/help.h
diff options
context:
space:
mode:
authorLibravatar Brandon Williams <bmwill@google.com>2018-03-15 10:31:22 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-03-15 12:01:08 -0700
commit834cf34b26035abc58f7c2b0f2afd5527e93c30d (patch)
tree3138adb283ecc11f6b8e104a53e564866b652a54 /help.h
parentconnect: request remote refs using v2 (diff)
downloadtgif-834cf34b26035abc58f7c2b0f2afd5527e93c30d.tar.xz
transport: convert get_refs_list to take a list of ref prefixes
Convert the 'struct transport' virtual function 'get_refs_list()' to optionally take an argv_array of ref prefixes. When communicating with a server using protocol v2 these ref prefixes can be sent when requesting a listing of their refs allowing the server to filter the refs it sends based on the sent prefixes. This list will be ignored when not using protocol v2. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'help.h')
0 files changed, 0 insertions, 0 deletions