Re: [PATCH 0/2] generating ref-prefixes for configured refspecs
From: Junio C Hamano <hidden>
Date: 2018-05-17 21:32:16
Brandon Williams [off-list ref] 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.<name>.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(-)