Skip to content

generating ref-prefixes for configured refspecs

Brandon Williams git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2refspec: consolidate ref-prefix generation logicbuiltin/fetch.c refspec.c refspec.h +1 more+35 -326 replies
2/2fetch: generate ref-prefixes when using a configured refspecbuiltin/fetch.c t/t5702-protocol-v2.sh+23 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] generating ref-prefixes for configured refspecs

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(-)
Signature · 1 line
2.17.0.441.gb46fe60e1d-goog