]> git.ipfire.org Git - thirdparty/git.git/commit
fetch: pass ref prefixes when fetching
authorBrandon Williams <bmwill@google.com>
Thu, 15 Mar 2018 17:31:25 +0000 (10:31 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 Mar 2018 19:01:08 +0000 (12:01 -0700)
commit230d7dd3917b80d94bf8d522b220d587634f1885
tree753ceb74e45b7066c1a01b5bfb2055f6a376149f
parentb4be74105febef5c6235e1e2f1e468e76166cad8
fetch: pass ref prefixes when fetching

Construct a list of ref prefixes to be passed to
'transport_get_remote_refs()' from the refspec to be used during the
fetch.  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>
builtin/fetch.c