Skip to content

Commit

Permalink
Cosmetical command name fix
Browse files Browse the repository at this point in the history
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
Heikki Orsila authored and Junio C Hamano committed Sep 16, 2008
1 parent f18d244 commit 1f5a892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin-tar-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -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=")) {
Expand Down

0 comments on commit 1f5a892

Please sign in to comment.