Unmatched files are errors, and should be ignored with the rest of them. Signed-off-by: Luke Dashjr <luke-jr+git@xxxxxxxxxxx> --- builtin-add.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/builtin-add.c b/builtin-add.c index 0597fb9..e3132c8 100644 --- a/builtin-add.c +++ b/builtin-add.c @@ -280,6 +280,8 @@ int cmd_add(int argc, const char **argv, const char *prefix) add_interactive = 1; if (add_interactive) exit(interactive_add(argc - 1, argv + 1, prefix)); + if (ignore_add_errors) + ignore_unmatch = 1; if (edit_interactive) return(edit_patch(argc, argv, prefix)); -- 1.6.3.3 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html