Document ls-files --with-tree=<tree-ish>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
Sep 14, 2007 at 16:59 UTC
a7a0f3d3f858eef1f1326821343c640c5b3838ce
1 file changed
+8
-1
Documentation/git-ls-files.txt
+8
-1
@@ -15,7 +15,7 @@ SYNOPSIS
15
[-x <pattern>|--exclude=<pattern>]
16
[-X <file>|--exclude-from=<file>]
17
[--exclude-per-directory=<file>]
18
- [--error-unmatch]
18
+ [--error-unmatch] [--with-tree=<tree-ish>]
19
[--full-name] [--abbrev] [--] [<file>]\*
20
21
DESCRIPTION
@@ -81,6 +81,13 @@ OPTIONS
81
If any <file> does not appear in the index, treat this as an
82
error (return 1).
83
84
+--with-tree=<tree-ish>::
85
+ When using --error-unmatch to expand the user supplied
86
+ <file> (i.e. path pattern) arguments to paths, pretend
87
+ that paths which were removed in the index since the
88
+ named <tree-ish> are still present. Using this option
89
+ with `-s` or `-u` options does not make any sense.
90
+
91
-t::
92
Identify the file status with the following tags (followed by
93
a space) at the start of each line: