Permalink
Browse files

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>
  • Loading branch information...
heikkiorsila authored and gitster committed Sep 13, 2008
1 parent f18d244 commit 1f5a892e5209be329dda316edb0341066d62e3eb
Showing with 1 addition and 1 deletion.
  1. +1 −1 builtin-tar-tree.c
View
@@ -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=")) {

0 comments on commit 1f5a892

Please sign in to comment.