diff options
author | Junio C Hamano <junkio@cox.net> | 2006-09-24 14:42:01 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-09-24 19:55:08 -0700 |
commit | fd88d9c81ecdefd656b01f288ed9127b7abef53e (patch) | |
tree | d6a7f3e9a6768a7890c4a151a2943ca888d02f2e /git.c | |
parent | git-tar-tree: Move code for git-archive --format=tar to archive-tar.c (diff) | |
download | tgif-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.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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 }, |