Signed-off-by: Christian Couder <chriscool@xxxxxxxxxxxxx> --- builtin/tar-tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/tar-tree.c b/builtin/tar-tree.c index ba3ffe6..7f225cc 100644 --- a/builtin/tar-tree.c +++ b/builtin/tar-tree.c @@ -34,7 +34,7 @@ int cmd_tar_tree(int argc, const char **argv, const char *prefix) nargv[nargc++] = "archive"; nargv[nargc++] = "--format=tar"; - if (2 <= argc && !prefixcmp(argv[1], "--remote=")) { + if (2 <= argc && has_prefix(argv[1], "--remote=")) { nargv[nargc++] = argv[1]; argv++; argc--; -- 1.8.4.1.566.geca833c -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html