aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-09-14 16:59:04 -0700
committerJunio C Hamano <gitster@pobox.com>2007-09-17 23:57:35 -0700
commit7a461b5a33239cfba3bbf0a1deef544c7f1dcfeb (patch)
tree970bba5c85c870d0ff1a0fd0d5a9367ffec6045a
parentcba8d4896187abedd9c35936504b7254a2ecbd91 (diff)
downloadgit-7a461b5a33239cfba3bbf0a1deef544c7f1dcfeb.tar.gz
git-7a461b5a33239cfba3bbf0a1deef544c7f1dcfeb.tar.xz
Document ls-files --with-tree=<tree-ish>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--Documentation/git-ls-files.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/Documentation/git-ls-files.txt b/Documentation/git-ls-files.txt
index 997594549..9e454f0a4 100644
--- a/Documentation/git-ls-files.txt
+++ b/Documentation/git-ls-files.txt
@@ -15,7 +15,7 @@ SYNOPSIS
[-x <pattern>|--exclude=<pattern>]
[-X <file>|--exclude-from=<file>]
[--exclude-per-directory=<file>]
- [--error-unmatch]
+ [--error-unmatch] [--with-tree=<tree-ish>]
[--full-name] [--abbrev] [--] [<file>]\*
DESCRIPTION
@@ -81,6 +81,13 @@ OPTIONS
If any <file> does not appear in the index, treat this as an
error (return 1).
+--with-tree=<tree-ish>::
+ When using --error-unmatch to expand the user supplied
+ <file> (i.e. path pattern) arguments to paths, pretend
+ that paths which were removed in the index since the
+ named <tree-ish> are still present. Using this option
+ with `-s` or `-u` options does not make any sense.
+
-t::
Identify the file status with the following tags (followed by
a space) at the start of each line: