git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [Bug?] "git diff --no-rename A B"

From
DSDragan 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.

Previous: Junio C HamanoNext: Jeff King
Message 2 of 8 in “[Bug?] "git diff --no-rename A B"”
  1. Junio C HamanoJan 18, 2024
  2. Dragan SimicJan 18, 2024
  3. Jeff KingJan 20, 2024
  4. René ScharfeJan 20, 2024
  5. Junio C HamanoJan 20, 2024
  6. René ScharfeJan 21, 2024
  7. Jeff KingJan 22, 2024
  8. Jeff KingJan 23, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.