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

git format-patch --no-renames

From
Chris Packham <judge.packham@gmail.com>
Date
Feb 3, 2026, 19:58 UTC
Message-ID
<CAFOYHZDn-e5P9Rs3=2oS857QvYnHbpYq23x3RCkDWTTVGg5gNA@mail.gmail.com>
Hi Git,

The man page section for the --no-renames options says "Turn off rename detection, even when the configuration file gives the default to do so."

But I can't actually see what option that might be.Does git format-patch use the same config as git -diff?

Selfishly I'd like `git diff` to show renames but `git format-patch` to output things that can be applied by `patch` (specifically a version that doesn't understand renames).

Next: Jeff King
Message 1 of 2 in “git format-patch --no-renames”
  1. Chris PackhamFeb 3, 2026
  2. Jeff KingFeb 4, 2026

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.