for-each-ref: use skip_prefix instead of starts_with
authorJeff King <redacted>
Thu, 21 May 2015 04:45:51 +0000 (00:45 -0400)
committerJunio C Hamano <redacted>
Fri, 22 May 2015 16:33:08 +0000 (09:33 -0700)
commit3dbe9db01bd9c0b0701f72a631ac15b1791f6642
treeb70424662931f9288f085918fa830299ef0f8961
parentadfe5d04345631299f9a4518d56c6dd3d47eb0b3
for-each-ref: use skip_prefix instead of starts_with

This saves us having to maintain a magic number to skip past
the matched prefix.

Signed-off-by: Jeff King <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/for-each-ref.c
git clone https://git.99rst.org/PROJECT