]> git.ipfire.org Git - thirdparty/git.git/commit - transport.c
push: pass ref prefixes when pushing
authorBrandon Williams <bmwill@google.com>
Thu, 15 Mar 2018 17:31:26 +0000 (10:31 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 Mar 2018 19:01:08 +0000 (12:01 -0700)
commit5b872fff187037829fdd3e494acdf4299ff6e80b
tree4643765ecf11d956dbafafd51ee40c02336c3ea4
parent230d7dd3917b80d94bf8d522b220d587634f1885
push: pass ref prefixes when pushing

Construct a list of ref prefixes to be passed to 'get_refs_list()' from
the refspec to be used during the push.  This list of ref prefixes 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