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