summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f18d244)
raw | patch | inline | side by side (parent: f18d244)
author | Heikki Orsila <heikki.orsila@iki.fi> | |
Sat, 13 Sep 2008 16:31:31 +0000 (19:31 +0300) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 16 Sep 2008 06:11:35 +0000 (23:11 -0700) |
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>
"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>
builtin-tar-tree.c | patch | blob | history |
diff --git a/builtin-tar-tree.c b/builtin-tar-tree.c
index 419a69b507d78a830f4d865def6ac012084151d5..0713bca778e7be18b58ec5d207dc7c8cd7e982ed 100644 (file)
--- a/builtin-tar-tree.c
+++ b/builtin-tar-tree.c
char *basedir_arg;
int nargc = 0;
- nargv[nargc++] = "git-archive";
+ nargv[nargc++] = "archive";
nargv[nargc++] = "--format=tar";
if (2 <= argc && !prefixcmp(argv[1], "--remote=")) {