[\-X <file>|\-\-exclude\-from=<file>]
[\-\-exclude\-per\-directory=<file>]
[\-\-error\-unmatch]
- [\-\-full\-name] [\-\-] [<file>]*
+ [\-\-full\-name] [\-\-abbrev] [\-\-] [<file>]*
.fi
.SH "DESCRIPTION"
\-\-full\-name
When run from a subdirectory, the command usually outputs paths relative to the current directory\&. This option forces paths to be output relative to the project top directory\&.
+.TP
+\-\-abbrev[=<n>]
+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=<n>\&.
+
.TP
--
Do not interpret any more arguments as options\&.
.SH "SYNOPSIS"
-\fIgit\-ls\-tree\fR [\-d] [\-r] [\-t] [\-z] [\-\-name\-only] [\-\-name\-status] <tree\-ish> [paths...]
+\fIgit\-ls\-tree\fR [\-d] [\-r] [\-t] [\-z] [\-\-name\-only] [\-\-name\-status] [\-\-full\-name] [\-\-abbrev=[<n>]] <tree\-ish> [paths...]
.SH "DESCRIPTION"
\-\-name\-only, \-\-name\-status
List only filenames (instead of the "long" output), one per line\&.
+.TP
+\-\-abbrev[=<n>]
+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=<n>\&.
+
.TP
paths
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\&.