[PATCH 0/2] generating ref-prefixes for configured refspecs
- From
- Brandon Williams <bmwill@google.com>
- Date
- May 16, 2018, 23:48 UTC
- Message-ID
- <20180516234822.182663-1-bmwill@google.com>
- In-Reply-To
- <20180516225823.235426-1-bmwill@google.com>
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