aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-ls-tree.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-01-13 23:09:57 -0800
committerJunio C Hamano <gitster@pobox.com>2009-01-13 23:09:57 -0800
commit350b1091a83fbf42f887d538f9247b5bdfe0225f (patch)
treec3fe412510700cc697310905b4900ebbd95480f8 /Documentation/git-ls-tree.txt
parent9735a4444022c7b5d4256020f2c1b20e18bc9ade (diff)
parente1a59774077e21fc9862a968440dd23003345b4a (diff)
downloadgit-350b1091a83fbf42f887d538f9247b5bdfe0225f.tar.gz
Merge branch 'jc/maint-ls-tree'
* jc/maint-ls-tree: Document git-ls-tree --full-tree ls-tree: add --full-tree option
Diffstat (limited to 'Documentation/git-ls-tree.txt')
-rw-r--r--Documentation/git-ls-tree.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/Documentation/git-ls-tree.txt b/Documentation/git-ls-tree.txt
index 7bf76c92e4..f68e5c5c1a 100644
--- a/Documentation/git-ls-tree.txt
+++ b/Documentation/git-ls-tree.txt
@@ -10,7 +10,7 @@ SYNOPSIS
--------
[verse]
'git ls-tree' [-d] [-r] [-t] [-l] [-z]
- [--name-only] [--name-status] [--full-name] [--abbrev=[<n>]]
+ [--name-only] [--name-status] [--full-name] [--full-tree] [--abbrev=[<n>]]
<tree-ish> [paths...]
DESCRIPTION
@@ -30,6 +30,8 @@ in the current working directory. Note that:
'sub/dir' in 'HEAD'). You don't want to give a tree that is not at the
root level (e.g. 'git ls-tree -r HEAD:sub dir') in this case, as that
would result in asking for 'sub/sub/dir' in the 'HEAD' commit.
+ However, the current working directory can be ignored by passing
+ --full-tree option.
OPTIONS
-------
@@ -66,6 +68,10 @@ OPTIONS
Instead of showing the path names relative to the current working
directory, show the full path names.
+--full-tree::
+ Do not limit the listing to the current working directory.
+ Implies --full-name.
+
paths::
When paths are given, show them (note that this isn't really raw
pathnames, but rather a list of patterns to match). Otherwise