Re: [PATCH] submodule operations: tighten pathspec errors
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 1, 2016, 21:20 UTC
- Message-ID
- <xmqqtwhcwqqh.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <xmqqy46owr0n.fsf@gitster.mtv.corp.google.com>
Junio C Hamano <gitster@pobox.com> writes:
Show 6 quoted lines
>> Ok I'll fix the variable names; I think for consistency with e.g. >> ls-files --error-unmatch >> we would want to be loose by default and strict on that option. > > I do not think the "typo-prevention" safety measure should suddenly > be turned into opt-in; I'd suggest "--unmatch-ok" instead.
Sorry, I should have grepped before hitting "send". I think this is in line with "git rm --ignore-unmatch". We complain by default, but the user can choose to squelch.