aboutsummaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-09-24 14:42:01 -0700
committerJunio C Hamano <junkio@cox.net>2006-09-24 19:55:08 -0700
commitfd88d9c81ecdefd656b01f288ed9127b7abef53e (patch)
treed6a7f3e9a6768a7890c4a151a2943ca888d02f2e /git.c
parent3d74982f0b1f8895d27937aa6ed62c1ddd50a020 (diff)
downloadgit-fd88d9c81ecdefd656b01f288ed9127b7abef53e.tar.gz
git-fd88d9c81ecdefd656b01f288ed9127b7abef53e.tar.xz
Remove upload-tar and make git-tar-tree a thin wrapper to git-archive
The command now issues a big deprecation warning message and runs git-archive command with appropriate arguments. git-tar-tree $tree_ish $base always forces $base to be the leading directory name, so the --prefix parameter passed internally to git-archive is a slash appended to it, i.e. "--prefix=$base/". Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git.c')
-rw-r--r--git.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/git.c b/git.c
index 168622048..ae80e7845 100644
--- a/git.c
+++ b/git.c
@@ -263,7 +263,6 @@ static void handle_internal_command(int argc, const char **argv, char **envp)
{ "update-index", cmd_update_index, RUN_SETUP },
{ "update-ref", cmd_update_ref, RUN_SETUP },
{ "upload-archive", cmd_upload_archive },
- { "upload-tar", cmd_upload_tar },
{ "version", cmd_version },
{ "whatchanged", cmd_whatchanged, RUN_SETUP | USE_PAGER },
{ "write-tree", cmd_write_tree, RUN_SETUP },