send-pack: store refspecs in a struct refspec
commit168dba68c9ee2f35b40ec306a7b984e90cce2648
authorBrandon Williams <bmwill@google.com>
Wed, 16 May 2018 22:58:18 +0000 (16 15:58 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 17 May 2018 21:19:44 +0000 (18 06:19 +0900)
tree98cc3e0a3127195cbcffcf9ea140ee44323228ba
parent306f22dbc8f43feeed735905276c48a96c63b9e5
send-pack: store refspecs in a struct refspec

Convert send-pack.c to store refspecs in a 'struct refspec' instead of
as an array of 'const char *'.

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