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

Re: diff.renames not working?

From
Bryan Turner <bturner@atlassian.com>
Date
Sep 13, 2019, 22:36 UTC
Message-ID
<CAGyf7-F95A848hdM-CWPZvuvaSHF7p4qEftGoXMHNM5nyfDkeg@mail.gmail.com>
In-Reply-To
<CAHd499BT35jvPtsuD9gfJB0HJ=NxtzyQOaiD7-=sHJbFYhphpg@mail.gmail.com>
On Fri, Sep 13, 2019 at 1:24 PM Robert Dailey <rcdailey.lists@gmail.com> wrote:
>
> 2. `diff -M` doesn't actually work either. It should, though. In fact,
> I expected it to work as `--follow` does. But it doesn't.

Just a small point of clarification: Is -M really what you mean here? Given you indicated you have "diff.renames=copies", wouldn't you need -C? -M only detects renames, not copies.

(I haven't looked too deeply into the rest, but this detail caught my eye.)

Best regards, Bryan Turner

Show 6 quoted lines
> 3. The `diff.renames` config doesn't seem to be working here, when it should.
>
> Can someone explain the behavior I'm seeing? I really am confused
> about all this...
>
> [1]: https://git-scm.com/docs/git-diff
Previous: Robert DaileyNext: Jeff King
Message 2 of 5 in “diff.renames not working?”
  1. Robert DaileySep 13, 2019
  2. Bryan TurnerSep 13, 2019
  3. Jeff KingSep 14, 2019
  4. Robert DaileySep 16, 2019
  5. Junio C HamanoSep 16, 2019

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.