diff options
author | Heikki Orsila <heikki.orsila@iki.fi> | 2008-09-13 19:31:31 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-09-15 23:11:35 -0700 |
commit | 1f5a892e5209be329dda316edb0341066d62e3eb (patch) | |
tree | 192077ae8b40d1d6189bb9901a898a41b7f90916 | |
parent | Start conforming code to "git subcmd" style part 3 (diff) | |
download | tgif-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.c | 2 |
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=")) { |