This patch causes git-rm to display a warning if it was unable to remove a file other than the first one, rather than silently ignoring the error, which was the previous behaviour. Signed-off-by: Peter Collingbourne <peter@xxxxxxxxx> --- builtin/rm.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/builtin/rm.c b/builtin/rm.c index f3772c8..05a5158 100644 --- a/builtin/rm.c +++ b/builtin/rm.c @@ -259,6 +259,8 @@ int cmd_rm(int argc, const char **argv, const char *prefix) } if (!removed) die_errno("git rm: '%s'", path); + else + warning("git rm: '%s': %s", path, strerror(errno)); } } -- 1.6.5 -- 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