[PATCH] possible memory leak in diff.c::diff_free_filepair()
[git.git] / Documentation / git-tar-tree.txt
blob9323dddfa74aa4ef7197637d1a401da96cb5a033
1 git-tar-tree(1)
2 ===============
3 v0.1, May 2005
5 NAME
6 ----
7 git-tar-tree - Creates a tar archive of the files in the named tree
10 SYNOPSIS
11 --------
12 'git-tar-tree' <tree-ish> [ <base> ]
14 DESCRIPTION
15 -----------
16 Creates a tar archive containing the tree structure for the named tree.
17 When <base> is specified it is added as a leading path to the files in the
18 generated tar archive.
20 git-tar-tree behaves differently when given a tree ID versus when given
21 a commit ID or tag ID.  In the first case the current time is used as
22 modification time of each file in the archive.  In the latter case the
23 commit time as recorded in the referenced commit object is used instead.
24 Additionally the commit ID is stored in a global extended pax header.
25 It can be extracted using git-get-tar-commit-id.
28 Author
29 ------
30 Written by Rene Scharfe.
32 Documentation
33 --------------
34 Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
36 GIT
37 ---
38 Part of the link:git.html[git] suite