diff options
author | Brandon Williams <bmwill@google.com> | 2018-03-15 10:31:22 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-03-15 12:01:08 -0700 |
commit | 834cf34b26035abc58f7c2b0f2afd5527e93c30d (patch) | |
tree | 3138adb283ecc11f6b8e104a53e564866b652a54 /http.c | |
parent | connect: request remote refs using v2 (diff) | |
download | tgif-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 'http.c')
0 files changed, 0 insertions, 0 deletions