diff options
author | Brandon Williams <bmwill@google.com> | 2018-03-15 20:31:22 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-03-15 22:01:08 +0300 |
commit | 834cf34b26035abc58f7c2b0f2afd5527e93c30d (patch) | |
tree | 3138adb283ecc11f6b8e104a53e564866b652a54 /transport.h | |
parent | e52449b672210f4b49e116ca34dcd46657287f61 (diff) |
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 'transport.h')
0 files changed, 0 insertions, 0 deletions