From: Junio C Hamano Date: Thu, 17 May 2018 21:32:09 GMT Subject: Re: [PATCH 0/2] generating ref-prefixes for configured refspecs Message-ID: In-Reply-To: <20180516234822.182663-1-bmwill@google.com> Brandon Williams writes: > Here's my short follow on series to the refspec refactoring. > > When v2 was introduced ref-prefixes were only generated for user > provided refspecs (given via the command line). This means that you can > only benefit from server-side ref filtering if you explicitly provide a > refspec, so this short series extends this to generate the ref-prefixes > even for the refspecs which are configured in 'remote..fetch'. > > This series is based on the v2 of the refspec refactoring series. Makes sense. > > Brandon Williams (2): > refspec: consolidate ref-prefix generation logic > fetch: generate ref-prefixes when using a configured refspec > > builtin/fetch.c | 19 ++++++++----------- > refspec.c | 29 +++++++++++++++++++++++++++++ > refspec.h | 4 ++++ > t/t5702-protocol-v2.sh | 14 ++++++++++++++ > transport.c | 21 +-------------------- > 5 files changed, 56 insertions(+), 31 deletions(-)