Re: [PATCH 2/2] Add --ignore-notfound option to exit with zero status when no files are removed.
- From
Junio C Hamano <junkio@cox.net>
- Date
- Apr 16, 2007, 08:53 UTC
- Message-ID
- <7v7iscvgx1.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20070416085011.GA2387@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 11 quoted lines
> On Mon, Apr 16, 2007 at 12:59:35AM -0700, Junio C Hamano wrote: > >> > +\--ignore-notfound:: >> > + Exit with a zero status even if no files matched. >> > + >> ls-files has --error-unmatch so we may want to make the name >> consistent by saying --ignore-unmatch? I particularly do not >> care about the minute naming issues _right_ _now_, but we might >> regret it in the long run. > > Isn't this quite similar to the '-k' option to git-mv?
Heh, I never use 'git-mv' and 'git-rm' myself, so I did not know about that option, but from the Documentation/git-mv.txt, it sounds similar. What does it stand for, I wonder?