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>
maint
Heikki Orsila 2008-09-13 19:31:31 +03:00 committed by Junio C Hamano
parent f18d244a63
commit 1f5a892e52
1 changed files with 1 additions and 1 deletions

View File

@ -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=")) {