summaryrefslogtreecommitdiffstats
path: root/git-ls-tree.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@kernel.org>2010-10-22 04:12:17 +0000
committerJunio C Hamano <junio@kernel.org>2010-10-22 04:12:17 +0000
commitd2179ef025405832dff42141faed13199886b61c (patch)
treeffbde742771a380129d0223749ed086fbea39271 /git-ls-tree.txt
parent7f9fa86e7b663383dc905c5b41bedda5cedf02e6 (diff)
downloadgit-htmldocs-d2179ef025405832dff42141faed13199886b61c.tar.gz
Autogenerated HTML docs for v1.7.3.2-90-gd4c43
Diffstat (limited to 'git-ls-tree.txt')
-rw-r--r--git-ls-tree.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/git-ls-tree.txt b/git-ls-tree.txt
index 1f89d3680..76ed625e7 100644
--- a/git-ls-tree.txt
+++ b/git-ls-tree.txt
@@ -10,8 +10,8 @@ SYNOPSIS
--------
[verse]
'git ls-tree' [-d] [-r] [-t] [-l] [-z]
- [--name-only] [--name-status] [--full-name] [--full-tree] [--abbrev=[<n>]]
- <tree-ish> [paths...]
+ [--name-only] [--name-status] [--full-name] [--full-tree] [--abbrev[=<n>]]
+ <tree-ish> [<path>...]
DESCRIPTION
-----------
@@ -19,11 +19,11 @@ Lists the contents of a given tree object, like what "/bin/ls -a" does
in the current working directory. Note that:
- the behaviour is slightly different from that of "/bin/ls" in that the
- 'paths' denote just a list of patterns to match, e.g. so specifying
+ '<path>' denotes just a list of patterns to match, e.g. so specifying
directory name (without '-r') will behave differently, and order of the
arguments does not matter.
- - the behaviour is similar to that of "/bin/ls" in that the 'paths' is
+ - the behaviour is similar to that of "/bin/ls" in that the '<path>' is
taken as relative to the current working directory. E.g. when you are
in a directory 'sub' that has a directory 'dir', you can run 'git
ls-tree -r HEAD dir' to list the contents of the tree (that is
@@ -72,7 +72,7 @@ OPTIONS
Do not limit the listing to the current working directory.
Implies --full-name.
-paths::
+[<path>...]::
When paths are given, show them (note that this isn't really raw
pathnames, but rather a list of patterns to match). Otherwise
implicitly uses the root level of the tree as the sole path argument.