Skip to content

Commit 1f5a892

Browse files
heikkiorsilagitster
authored andcommitted
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>
1 parent f18d244 commit 1f5a892

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin-tar-tree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ int cmd_tar_tree(int argc, const char **argv, const char *prefix)
2828
char *basedir_arg;
2929
int nargc = 0;
3030

31-
nargv[nargc++] = "git-archive";
31+
nargv[nargc++] = "archive";
3232
nargv[nargc++] = "--format=tar";
3333

3434
if (2 <= argc && !prefixcmp(argv[1], "--remote=")) {

0 commit comments

Comments
 (0)