Re: [Bug?] "git diff --no-rename A B"
- From
- Dragan Simic <dsimic@manjaro.org>
- Date
- Jan 18, 2024, 06:26 UTC
- Message-ID
- <b14b9ed73398505f44e1c38434a78041@manjaro.org>
- In-Reply-To
- <xmqq34uvtpob.fsf@gitster.g>
Hello,
On 2024-01-18 02:07, Junio C Hamano wrote:
> When the user misspells "--no-renames" as "--no-rename", it seems > that the rename detection (which is ont by default these days) still > kicks in, which means the misspelt option is silently ignored. > Should we show an error message instead?
Unless I'm missing something obvious, an error condition should be generated in general when an unknown command-line option is specified.