Subject: [PATCH 0/2] generating ref-prefixes for configured refspecs

From: Brandon Williams <[email-masked]>
Date: Wed, 16 May 2018 16:48:20 -0700

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.<name>.fetch'.

This series is based on the v2 of the refspec refactoring series.

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(-)

-- 
2.17.0.441.gb46fe60e1d-goog