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

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

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 18, 2024, 01:07 UTC
Message-ID
<xmqq34uvtpob.fsf@gitster.g>

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?

Next: Dragan Simic
Message 1 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.