[PATCH 83/86] builtin/unpack-objects: replace prefixcmd() with has_prefix()
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
---
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