transport: convert transport_push to take a struct refspec
authorBrandon Williams <bmwill@google.com>
Wed, 16 May 2018 22:58:17 +0000 (15:58 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 17 May 2018 21:19:44 +0000 (06:19 +0900)
commit306f22dbc8f43feeed735905276c48a96c63b9e5
treecf0de85a759a09f07417f2e2e3d29553a22faceb
parentaa40289ce9438890368aa1c667d1ed6e3184213c
transport: convert transport_push to take a struct refspec

Convert 'transport_push()' to take a 'struct refspec' as a
parameter instead of an array of strings which represent
refspecs.

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