summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Heikki Orsila <heikki.orsila@iki.fi>2008-09-13 19:31:31 +0300
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-09-15 23:11:35 -0700
commit1f5a892e5209be329dda316edb0341066d62e3eb (patch)
tree192077ae8b40d1d6189bb9901a898a41b7f90916
parentStart conforming code to "git subcmd" style part 3 (diff)
downloadtgif-1f5a892e5209be329dda316edb0341066d62e3eb.tar.xz
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>
-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 419a69b507..0713bca778 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=")) {