git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Cosmetical command name fix

From
HOHeikki Orsila <heikki.orsila@iki.fi>
Date
Sep 13, 2008, 16:31 UTC
Message-ID
<20080913163131.GA5145@zakalwe.fi>

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(-)
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
Message 1 of 1 in “Cosmetical command name fix”
  1. Cosmetical command name fixHeikki Orsila, Sep 13, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.