some minor starts_with()/skip_prefix() cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | convert trivial uses of strncmp() to starts_with()builtin/ bundle-uri.c ref-filter.c +1 more | +6 | 0 replies | |
| 2/2 | convert trivial uses of strncmp() to skip_prefix()builtin/ ws.c | +8 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] some minor starts_with()/skip_prefix() cleanups
I happened to notice a recently-introduced strncmp() that could have been a starts_with(). So I grepped and found a few more, and this is the result.
[1/2]: convert trivial uses of strncmp() to starts_with() [2/2]: convert trivial uses of strncmp() to skip_prefix()
builtin/remote-ext.c | 6 ++++-- builtin/remote-fd.c | 2 +- bundle-uri.c | 2 +- ref-filter.c | 2 +- urlmatch.c | 6 +++--- ws.c | 7 ++++--- 6 files changed, 14 insertions(+), 11 deletions(-)
-Peff