Re: [PATCH v4 18/35] fetch: pass ref patterns when fetching

2018-03-12 Thread Brandon Williams
On 03/02, Junio C Hamano wrote: > Brandon Williams writes: > > > diff --git a/builtin/fetch.c b/builtin/fetch.c > > index 850382f55..695fafe06 100644 > > --- a/builtin/fetch.c > > +++ b/builtin/fetch.c > > @@ -332,11 +332,25 @@ static struct ref *get_ref_map(struct transport

Re: [PATCH v4 18/35] fetch: pass ref patterns when fetching

2018-03-02 Thread Junio C Hamano
Brandon Williams writes: > diff --git a/builtin/fetch.c b/builtin/fetch.c > index 850382f55..695fafe06 100644 > --- a/builtin/fetch.c > +++ b/builtin/fetch.c > @@ -332,11 +332,25 @@ static struct ref *get_ref_map(struct transport > *transport, > struct ref *rm; >

[PATCH v4 18/35] fetch: pass ref patterns when fetching

2018-02-28 Thread Brandon Williams
Construct a list of ref patterns to be passed to 'transport_get_remote_refs()' from the refspec to be used during the fetch. 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