@matheusbsbs / matheus-bagliano / commits / 1f5a892e52
Fork 0

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 <heikki.orsila@iki.fi> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Heikki Orsila committed Sep 13, 2008 at 19:31 UTC 1f5a892e5209be329dda316edb0341066d62e3eb
1 file changed +1 -1
builtin-tar-tree.c
+1 -1
@@ -28,7 +28,7 @@ int cmd_tar_tree(int argc, const char **argv, const char *prefix)
28 char *basedir_arg;
29 int nargc = 0;
30
31 - nargv[nargc++] = "git-archive";
31 + nargv[nargc++] = "archive";
32 nargv[nargc++] = "--format=tar";
33
34 if (2 <= argc && !prefixcmp(argv[1], "--remote=")) {