From bb1faf0d5bc53b193bbe25e7425458c8eb85efa3 Mon Sep 17 00:00:00 2001 From: Steven Grimm Date: Mon, 16 Apr 2007 00:53:24 -0700 Subject: Add --ignore-unmatch option to exit with zero status when no files are removed. Signed-off-by: Steven Grimm Signed-off-by: Junio C Hamano --- Documentation/git-rm.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Documentation/git-rm.txt') diff --git a/Documentation/git-rm.txt b/Documentation/git-rm.txt index b051ccb6d..a65f24a0f 100644 --- a/Documentation/git-rm.txt +++ b/Documentation/git-rm.txt @@ -7,7 +7,7 @@ git-rm - Remove files from the working tree and from the index SYNOPSIS -------- -'git-rm' [-f] [-n] [-r] [--cached] [--] ... +'git-rm' [-f] [-n] [-r] [--cached] [--ignore-unmatch] [--quiet] [--] ... DESCRIPTION ----------- @@ -47,6 +47,9 @@ OPTIONS the paths only from the index, leaving working tree files. +\--ignore-unmatch:: + Exit with a zero status even if no files matched. + \--quiet:: git-rm normally outputs one line (in the form of an "rm" command) for each file removed. This option suppresses that output. -- cgit v1.2.1