aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-add.txt
diff options
context:
space:
mode:
authorAlex Riesen <raa.lkml@gmail.com>2008-05-12 19:58:29 +0200
committerJunio C Hamano <gitster@pobox.com>2008-05-12 20:54:52 -0700
commit984b83ef23fdcf6a933f635f182e7bc10130094a (patch)
treec8254da54c8cd1957c441ad58368e5a38a47143e /Documentation/git-add.txt
parent7ae02a30e817eda16ea362c6304b6ae28c3a7644 (diff)
downloadgit-984b83ef23fdcf6a933f635f182e7bc10130094a.tar.gz
Add --ignore-errors to git-add to allow it to skip files with read errors
Signed-off-by: Alex Riesen <raa.lkml@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-add.txt')
-rw-r--r--Documentation/git-add.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
index e0e730b6c4..bb4abe26bb 100644
--- a/Documentation/git-add.txt
+++ b/Documentation/git-add.txt
@@ -9,7 +9,7 @@ SYNOPSIS
--------
[verse]
'git-add' [-n] [-v] [-f] [--interactive | -i] [--patch | -p] [-u] [--refresh]
- [--] <filepattern>...
+ [--ignore-errors] [--] <filepattern>...
DESCRIPTION
-----------
@@ -83,6 +83,11 @@ OPTIONS
Don't add the file(s), but only refresh their stat()
information in the index.
+\--ignore-errors::
+ If some files could not be added because of errors indexing
+ them, do not abort the operation, but continue adding the
+ others. The command shall still exit with non-zero status.
+
\--::
This option can be used to separate command-line options from
the list of files, (useful when filenames might be mistaken