From: Heikki Orsila Date: Sat, 13 Sep 2008 16:31:31 +0000 (+0300) Subject: Cosmetical command name fix X-Git-Tag: v1.6.0.3~92 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1f5a892e5209be329dda316edb0341066d62e3eb;p=git.git Cosmetical command name fix If we came from git.c the first arg would be "archive". "git-archive" isn't a bug because cmd_archive() doesn't check the first arg. Signed-off-by: Heikki Orsila Signed-off-by: Junio C Hamano --- diff --git a/builtin-tar-tree.c b/builtin-tar-tree.c index 419a69b50..0713bca77 100644 --- a/builtin-tar-tree.c +++ b/builtin-tar-tree.c @@ -28,7 +28,7 @@ int cmd_tar_tree(int argc, const char **argv, const char *prefix) char *basedir_arg; int nargc = 0; - nargv[nargc++] = "git-archive"; + nargv[nargc++] = "archive"; nargv[nargc++] = "--format=tar"; if (2 <= argc && !prefixcmp(argv[1], "--remote=")) {