~ubuntu-branches/ubuntu/edgy/git-core/edgy-backports

« back to all changes in this revision

Viewing changes to Documentation/git-ls-tree.txt

  • Committer: Package Import Robot
  • Author(s): LaMont Jones
  • Date: 2007-11-29 07:28:44 UTC
  • mfrom: (8.1.2 dapper-backports)
  • Revision ID: package-import@ubuntu.com-20071129072844-umsb7y3140yhxkth
Tags: 1:1.5.3.6-1.1~dapper1
* backport to dapper et al.
  - debian/rules changes to support source:Upstream-Version for old dpkg.
  - allow asciidoc (>7.0.2-3)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
NAME
5
5
----
6
 
git-ls-tree - Lists the contents of a tree object
 
6
git-ls-tree - List the contents of a tree object
7
7
 
8
8
 
9
9
SYNOPSIS
10
10
--------
11
11
[verse]
12
 
'git-ls-tree' [-d] [-r] [-t] [-z]
 
12
'git-ls-tree' [-d] [-r] [-t] [-l] [-z]
13
13
            [--name-only] [--name-status] [--full-name] [--abbrev=[<n>]]
14
14
            <tree-ish> [paths...]
15
15
 
36
36
        Show tree entries even when going to recurse them. Has no effect
37
37
        if '-r' was not passed. '-d' implies '-t'.
38
38
 
 
39
-l::
 
40
--long::
 
41
        Show object size of blob (file) entries.
 
42
 
39
43
-z::
40
44
        \0 line termination on output.
41
45
 
65
69
When the `-z` option is not used, TAB, LF, and backslash characters
66
70
in pathnames are represented as `\t`, `\n`, and `\\`, respectively.
67
71
 
 
72
When the `-l` option is used, format changes to
 
73
 
 
74
        <mode> SP <type> SP <object> SP <object size> TAB <file>
 
75
 
 
76
Object size identified by <object> is given in bytes, and right-justified
 
77
with minimum width of 7 characters.  Object size is given only for blobs
 
78
(file) entries; for other entries `-` character is used in place of size.
 
79
 
68
80
 
69
81
Author
70
82
------
80
92
GIT
81
93
---
82
94
Part of the gitlink:git[7] suite
83