diff options
author | Alex Riesen <raa.lkml@gmail.com> | 2008-05-12 19:58:29 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-05-12 20:54:52 -0700 |
commit | 984b83ef23fdcf6a933f635f182e7bc10130094a (patch) | |
tree | c8254da54c8cd1957c441ad58368e5a38a47143e /Documentation | |
parent | Extend interface of add_files_to_cache to allow ignore indexing errors (diff) | |
download | tgif-984b83ef23fdcf6a933f635f182e7bc10130094a.tar.xz |
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')
-rw-r--r-- | Documentation/git-add.txt | 7 |
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 |