summaryrefslogtreecommitdiff
path: root/builtin-tar-tree.c
diff options
context:
space:
mode:
authorHeikki Orsila <heikki.orsila@iki.fi>2008-09-13 16:31:31 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-09-16 06:11:35 (GMT)
commit1f5a892e5209be329dda316edb0341066d62e3eb (patch)
tree192077ae8b40d1d6189bb9901a898a41b7f90916 /builtin-tar-tree.c
parentf18d244a6356947cf0fb753b43c0d6ac4c7b5637 (diff)
downloadgit-1f5a892e5209be329dda316edb0341066d62e3eb.zip
git-1f5a892e5209be329dda316edb0341066d62e3eb.tar.gz
git-1f5a892e5209be329dda316edb0341066d62e3eb.tar.bz2
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>
Diffstat (limited to 'builtin-tar-tree.c')
-rw-r--r--builtin-tar-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-tar-tree.c b/builtin-tar-tree.c
index 419a69b..0713bca 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=")) {