Re: [PATCH v3 3/8] [RFC] ls-files: error out on -i unless -o or -c are specified
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 11, 2021, 22:32 UTC
- Message-ID
- <xmqqy2ckj40i.fsf@gitster.g>
- In-Reply-To
- <CABPp-BE7V233NYJARGXaTUZdt+L=N55B27UrV6pOuKaKOUWRWA@mail.gmail.com>
Elijah Newren <newren@gmail.com> writes:
Show 8 quoted lines
>> If we are not defaulting to cached, then
>>
>> die("ls-files -i must be used with either -o or -c");
>>
>> would also make sense.
>
> Ooh, that wording is much nicer. I'll adopt the latter suggestion,
> but let me know if you'd rather I went the warning route.Even though warning would be safer, I have no strong prefeference. Either way will resolve my puzzlement.
Thanks.