From: Christian Couder Date: Sat, 09 Nov 2013 07:06:35 GMT Subject: [PATCH 42/86] pathspec: replace prefixcmd() with has_prefix() Message-ID: <20131109070720.18178.68051.chriscool@tuxfamily.org> In-Reply-To: <20131109070358.18178.40248.chriscool@tuxfamily.org> Signed-off-by: Christian Couder --- pathspec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pathspec.c b/pathspec.c index ad1a9f5..182b162 100644 --- a/pathspec.c +++ b/pathspec.c @@ -150,7 +150,7 @@ static unsigned prefix_pathspec(struct pathspec_item *item, magic |= pathspec_magic[i].bit; break; } - if (!prefixcmp(copyfrom, "prefix:")) { + if (has_prefix(copyfrom, "prefix:")) { char *endptr; pathspec_prefix = strtol(copyfrom + 7, &endptr, 10); -- 1.8.4.1.566.geca833c