X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git-ls-tree.txt;h=018c4019532d9eb18dcae4873cd641604e833779;hb=5c3957ef11f6d420ff1ac915d0ce01295dbcb3a8;hp=b92a8b2db1c305bce5fc1fb554451c604e769c21;hpb=1a4e841b439ba014b365999c3a6b9e2be3740bd8;p=git.git diff --git a/git-ls-tree.txt b/git-ls-tree.txt index b92a8b2d..018c4019 100644 --- a/git-ls-tree.txt +++ b/git-ls-tree.txt @@ -3,12 +3,14 @@ git-ls-tree(1) NAME ---- -git-ls-tree - Lists the contents of a tree object. +git-ls-tree - Lists the contents of a tree object SYNOPSIS -------- -'git-ls-tree' [-d] [-r] [-t] [-z] [--name-only] [--name-status] [paths...] +'git-ls-tree' [-d] [-r] [-t] [-z] + [--name-only] [--name-status] [--full-name] [--abbrev=[]] + [paths...] DESCRIPTION ----------- @@ -40,6 +42,11 @@ OPTIONS --name-status:: List only filenames (instead of the "long" output), one per line. +--abbrev[=]:: + Instead of showing the full 40-byte hexadecimal object + lines, show only handful hexdigits prefix. + Non default number of digits can be specified with --abbrev=. + paths:: When paths are given, show them (note that this isn't really raw pathnames, but rather a list of patterns to match). Otherwise