push: pass ref patterns when pushing
authorBrandon Williams <bmwill@google.com>
Wed, 7 Feb 2018 01:12:56 +0000 (17:12 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 7 Feb 2018 19:53:06 +0000 (11:53 -0800)
commitb4fad3725a40d407d12d34fe12318f927aceaf15
tree62d2131da7e87824a95b47ff8a5e753a78760ca1
parente1e2604e263a56551e24471d1b648209a22501c6
push: pass ref patterns when pushing

Construct a list of ref patterns to be passed to 'get_refs_list()' from
the refspec to be used during the push.  This list of ref patterns will
be used to allow the server to filter the ref advertisement when
communicating using protocol v2.

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