From: Christian Couder Date: Sat, 09 Nov 2013 07:07:16 GMT Subject: [PATCH 83/86] builtin/unpack-objects: replace prefixcmd() with has_prefix() Message-ID: <20131109070720.18178.51088.chriscool@tuxfamily.org> In-Reply-To: <20131109070358.18178.40248.chriscool@tuxfamily.org> Signed-off-by: Christian Couder --- builtin/unpack-objects.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/unpack-objects.c b/builtin/unpack-objects.c index 2217d7b..dc2dd77 100644 --- a/builtin/unpack-objects.c +++ b/builtin/unpack-objects.c @@ -523,7 +523,7 @@ int cmd_unpack_objects(int argc, const char **argv, const char *prefix) strict = 1; continue; } - if (!prefixcmp(arg, "--pack_header=")) { + if (has_prefix(arg, "--pack_header=")) { struct pack_header *hdr; char *c; -- 1.8.4.1.566.geca833c