]> git.ipfire.org Git - thirdparty/git.git/blame - Documentation/git-ls-tree.txt
[PATCH] Adjust diff-helper to diff-tree -v -z changes.
[thirdparty/git.git] / Documentation / git-ls-tree.txt
CommitLineData
2cf565c5
DG
1git-ls-tree(1)
2==============
3v0.1, May 2005
4
5NAME
6----
7git-ls-tree - Displays a tree object in human readable form
8
9
10SYNOPSIS
11--------
6d3a5077 12'git-ls-tree' [-r] [-z] <tree-ish> [paths...]
2cf565c5
DG
13
14DESCRIPTION
15-----------
16Converts the tree object to a human readable (and script processable)
17form.
18
19OPTIONS
20-------
21<tree-ish>::
22 Id of a tree.
23
24-r::
25 recurse into sub-trees
26
27-z::
28 \0 line termination on output
29
6d3a5077
JM
30paths::
31 Optionally, restrict the output of git-ls-tree to specific
32 paths. Directories will only list their tree blob ids.
33 Implies -r.
34
2cf565c5
DG
35Output Format
36-------------
37 <mode>\t <type>\t <object>\t <file>
38
39
40Author
41------
42Written by Linus Torvalds <torvalds@osdl.org>
43
44Documentation
45--------------
46Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
47
48GIT
49---
50Part of the link:git.html[git] suite
51