* [PATCH] Cosmetical command name fix
@ 2008-09-13 16:31 Heikki Orsila
0 siblings, 0 replies; only message in thread
From: Heikki Orsila @ 2008-09-13 16:31 UTC (permalink / raw)
To: git; +Cc: Junio C Hamano
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-09-13 16:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-13 16:31 [PATCH] Cosmetical command name fix Heikki Orsila
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).