aboutsummaryrefslogtreecommitdiff
path: root/Documentation/git-ls-tree.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/git-ls-tree.txt')
-rw-r--r--Documentation/git-ls-tree.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/git-ls-tree.txt b/Documentation/git-ls-tree.txt
index f6e15ad7f..a113c359c 100644
--- a/Documentation/git-ls-tree.txt
+++ b/Documentation/git-ls-tree.txt
@@ -9,7 +9,7 @@ git-ls-tree - Displays a tree object in human readable form
SYNOPSIS
--------
-'git-ls-tree' [-r] [-z] <tree-ish>
+'git-ls-tree' [-r] [-z] <tree-ish> [paths...]
DESCRIPTION
-----------
@@ -27,6 +27,11 @@ OPTIONS
-z::
\0 line termination on output
+paths::
+ Optionally, restrict the output of git-ls-tree to specific
+ paths. Directories will only list their tree blob ids.
+ Implies -r.
+
Output Format
-------------
<mode>\t <type>\t <object>\t <file>