Merge branch 'jc/maint-ls-tree'
authorJunio C Hamano <gitster@pobox.com>
Wed, 14 Jan 2009 07:09:57 +0000 (23:09 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Jan 2009 07:09:57 +0000 (23:09 -0800)
* jc/maint-ls-tree:
Document git-ls-tree --full-tree
ls-tree: add --full-tree option

1  2 
Documentation/git-ls-tree.txt
index 7bf76c92e4b048bcd0fa5261e34e75351c0335f7,db6ebccd6dc51d9f1463710f29a8f821f13fd412..f68e5c5c1abd15350e679eebf976f0ac8516123b
@@@ -10,7 -10,7 +10,7 @@@ SYNOPSI
  --------
  [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 +30,8 @@@ in the current working directory.  Not
     '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
  -------
  
  --abbrev[=<n>]::
        Instead of showing the full 40-byte hexadecimal object
 -      lines, show only handful hexdigits prefix.
 +      lines, show only a partial prefix.
        Non default number of digits can be specified with --abbrev=<n>.
  
  --full-name::
        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