summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2006-02-21 20:48:30 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-02-22 02:37:36 (GMT)
commitc8af25ca0157146de59b992c1f961f1af8465995 (patch)
treef5d8bcaea15f8dbd89b82c9ba5187a0e9bf0a50c /Documentation
parentd0080b3cdab3a309385ad3fb3b4d2f6a08212985 (diff)
downloadgit-c8af25ca0157146de59b992c1f961f1af8465995.zip
git-c8af25ca0157146de59b992c1f961f1af8465995.tar.gz
git-c8af25ca0157146de59b992c1f961f1af8465995.tar.bz2
git-ls-files: Fix, document, and add test for --error-unmatch option.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-ls-files.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/git-ls-files.txt b/Documentation/git-ls-files.txt
index fe53412..28dc533 100644
--- a/Documentation/git-ls-files.txt
+++ b/Documentation/git-ls-files.txt
@@ -14,6 +14,7 @@ SYNOPSIS
[-x <pattern>|--exclude=<pattern>]
[-X <file>|--exclude-from=<file>]
[--exclude-per-directory=<file>]
+ [--error-unmatch]
[--full-name] [--] [<file>]\*
DESCRIPTION
@@ -72,6 +73,10 @@ OPTIONS
read additional exclude patterns that apply only to the
directory and its subdirectories in <file>.
+--error-unmatch::
+ If any <file> does not appear in the index, treat this as an
+ error (return 1).
+
-t::
Identify the file status with the following tags (followed by
a space) at the start of each line: