wildmatch refactoring
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | wildmatch: remove unused wildopts parameterapply.c builtin/ builtin/ +13 more | +22 | 0 replies | |
| 2/3 | wildmatch: add interface for precompiling wildmatch() patternswildmatch.c wildmatch.h | +29 | 3 replies | |
| 3/3 | wildmatch: make use of the interface for precompiling wildmatch() patternsbuiltin/ builtin/ config.c +2 more | +31 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] wildmatch refactoring
The first patch here should be applied, but 2 & 3 trail along as RFCs to show where this is going.
The RFC patches work, but I'm sure there'll be critiques of the interface / other suggestions, so they're being sent as RFC so Junio doesn't need to worry about picking them up / tracking them.
This is prep work for a local series of mine which compiles the wildmatch pattern into JIT-ed PCRE v2 patterns. That may or may not end up going anywhere, but as 2/3 notes just making these changes makes it easier to optimize wildmatch() further down the road.
Ævar Arnfjörð Bjarmason (3):
wildmatch: remove unused wildopts parameter
wildmatch: add interface for precompiling wildmatch() patterns
wildmatch: make use of the interface for precompiling wildmatch()
patterns
apply.c | 2 +- builtin/describe.c | 4 ++-- builtin/ls-remote.c | 2 +- builtin/name-rev.c | 6 +++++- builtin/reflog.c | 2 +- builtin/replace.c | 7 ++++--- builtin/show-branch.c | 2 +- config.c | 8 ++++++-- diffcore-order.c | 2 +- dir.c | 20 +++++++++++++++----- ref-filter.c | 4 ++-- refs.c | 7 ++++--- revision.c | 2 +- t/helper/test-wildmatch.c | 6 +++--- wildmatch.c | 23 +++++++++++++++++++++-- wildmatch.h | 13 +++++++++---- 16 files changed, 77 insertions(+), 33 deletions(-)
Signature · 1 line
2.13.1.611.g7e3b11ae1