From 1f5a892e5209be329dda316edb0341066d62e3eb Mon Sep 17 00:00:00 2001 From: Heikki Orsila Date: Sat, 13 Sep 2008 19:31:31 +0300 Subject: [PATCH] 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 --- 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 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=")) { -- 2.26.2