summaryrefslogtreecommitdiffstats
path: root/git-ls-tree.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2007-05-24 07:00:32 +0000
committerJunio C Hamano <junio@hera.kernel.org>2007-05-24 07:00:32 +0000
commit7fd841777a3a79f59afbc86aec190e9ab3d49a58 (patch)
tree4bdda638a006c68bd4009b46a967734b07845017 /git-ls-tree.txt
parent5e284b493e1b24c922c8de3fb1ebcec179039a9c (diff)
downloadgit-htmldocs-7fd841777a3a79f59afbc86aec190e9ab3d49a58.tar.gz
Autogenerated HTML docs for v1.5.2-58-g98ee
Diffstat (limited to 'git-ls-tree.txt')
-rw-r--r--git-ls-tree.txt14
1 files changed, 13 insertions, 1 deletions
diff --git a/git-ls-tree.txt b/git-ls-tree.txt
index 789939408..ad7f1b920 100644
--- a/git-ls-tree.txt
+++ b/git-ls-tree.txt
@@ -9,7 +9,7 @@ git-ls-tree - List the contents of a tree object
SYNOPSIS
--------
[verse]
-'git-ls-tree' [-d] [-r] [-t] [-z]
+'git-ls-tree' [-d] [-r] [-t] [-l] [-z]
[--name-only] [--name-status] [--full-name] [--abbrev=[<n>]]
<tree-ish> [paths...]
@@ -36,6 +36,10 @@ OPTIONS
Show tree entries even when going to recurse them. Has no effect
if '-r' was not passed. '-d' implies '-t'.
+-l::
+--long::
+ Show object size of blob (file) entries.
+
-z::
\0 line termination on output.
@@ -65,6 +69,14 @@ Output Format
When the `-z` option is not used, TAB, LF, and backslash characters
in pathnames are represented as `\t`, `\n`, and `\\`, respectively.
+When the `-l` option is used, format changes to
+
+ <mode> SP <type> SP <object> SP <object size> TAB <file>
+
+Object size identified by <object> is given in bytes, and right-justified
+with minimum width of 7 characters. Object size is given only for blobs
+(file) entries; for other entries `-` character is used in place of size.
+
Author
------