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 /Documentation/git-tar-tree.txt | |
parent | 3d74982f0b1f8895d27937aa6ed62c1ddd50a020 (diff) | |
download | git-fd88d9c81ecdefd656b01f288ed9127b7abef53e.tar.gz |
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 'Documentation/git-tar-tree.txt')
-rw-r--r-- | Documentation/git-tar-tree.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/git-tar-tree.txt b/Documentation/git-tar-tree.txt index 1e1c7fa856..74a6fddd9a 100644 --- a/Documentation/git-tar-tree.txt +++ b/Documentation/git-tar-tree.txt @@ -12,6 +12,9 @@ SYNOPSIS DESCRIPTION ----------- +THIS COMMAND IS DEPRECATED. Use `git-archive` with `--format=tar` +option instead. + Creates a tar archive containing the tree structure for the named tree. When <base> is specified it is added as a leading path to the files in the generated tar archive. |