]> git.ipfire.org Git - thirdparty/git.git/commit - transport.c
transport: convert transport_get_remote_refs to take a list of ref prefixes
authorBrandon Williams <bmwill@google.com>
Thu, 15 Mar 2018 17:31:23 +0000 (10:31 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 Mar 2018 19:01:08 +0000 (12:01 -0700)
commit1af8ae1cfa44a3f3c3f1efb7f9ebe68bc0ce7578
treecaf98c45f10651c6b86ba2c6753716c0ee4ae2c7
parent834cf34b26035abc58f7c2b0f2afd5527e93c30d
transport: convert transport_get_remote_refs to take a list of ref prefixes

Teach transport_get_remote_refs() to accept a list of ref prefixes,
which will be sent to the server for use in filtering when using
protocol v2. (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>
builtin/clone.c
builtin/fetch.c
builtin/ls-remote.c
builtin/remote.c
transport.c
transport.h