http-push: store refspecs in a struct refspec
authorBrandon Williams <bmwill@google.com>
Wed, 16 May 2018 22:58:20 +0000 (15:58 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 17 May 2018 21:19:44 +0000 (06:19 +0900)
commit38490dd416af41ce65eab0fc91de14009c73d606
treeb36f0e9944cf81f40f97061ba7e37166e529e2f1
parent7a78a82b6c3bb2a6ebaddf3354b6d97939bdb2ab
http-push: store refspecs in a struct refspec

Convert http-push.c to store refspecs in a 'struct refspec' instead of
in an array of 'const char *'.

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