Skip to contentSkip to conversation

Cosmetical command name fix

PATCH New Heikki Orsila 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 builtin-tar-tree.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
builtin-tar-tree.c +1 -1
index edcf72a..dd7326a 100644
@@ -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=")) {
Signature · 1 line
1.6.0.1