remote: convert get_ref_match to take a struct refspec
commitf3acb8309f2ef229f9e1af3abe1ab9631e643fbc
authorBrandon Williams <bmwill@google.com>
Wed, 16 May 2018 22:58:13 +0000 (16 15:58 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 17 May 2018 21:19:43 +0000 (18 06:19 +0900)
tree46e2b2b07700b0a7cb8ac197d10e8e86295d8a0a
parent86baf82521de70184182972b96bbf1859f097366
remote: convert get_ref_match to take a struct refspec

Convert 'get_ref_match()' to take a 'struct refspec' as a parameter
instead of a list of 'struct refspec_item'.

Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
remote.c