threads / patch / 15517

patchCosmetical command name fix

Subject: [PATCH] Cosmetical command name fix

## tl;dr

One message between Sep 13, 2008 and Sep 13, 2008. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Heikki Orsila· Sep 13, 2008, 16:31 UTC · lore

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>
---
 builtin-tar-tree.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show changes to builtin-tar-tree.c +1 −1
diff --git a/builtin-tar-tree.c b/builtin-tar-tree.c
index edcf72a..dd7326a 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=")) {
-- 
1.6.0.1

← back to recent threads