]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/push.c
push: convert to use struct refspec
authorBrandon Williams <bmwill@google.com>
Wed, 16 May 2018 22:58:16 +0000 (15:58 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 17 May 2018 21:19:44 +0000 (06:19 +0900)
commitaa40289ce9438890368aa1c667d1ed6e3184213c
tree71a3270cf6fb7fc9646398aeb97e2cb8b32dffc2
parent800a4ab399e954b8970897076b327bf1cf18c0ac
push: convert to use struct refspec

Convert the refspecs in builtin/push.c to be stored in a 'struct
refspec' instead of being stored in a list of 'struct refspec_item's.

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