Re: Incorrect unified diff when run with "--find-copies-harder"

2018-06-24 Thread Daniel Penkin
Hi Andrei, Thanks for the prompt reply. I'm sorry for the false alarm, I should've investigated this more thoroughly before submitting a bug. Now I see I get that context hint in many diffs, I was confused by many simple file diffs I was working with recently which didn't have it. Thank you for

Re: Incorrect unified diff when run with "--find-copies-harder"

2018-06-24 Thread Andrei Rybak
On 2018-06-24 12:36, Daniel Penkin wrote: > Hello, > Hi, > I believe I found a bug in how Git represents a diff when invoked with > "--find-copies-harder" parameter. > Specifically, the unified diff header of a hunk contains an extra > piece of text which appears to be a line from the context

Incorrect unified diff when run with "--find-copies-harder"

2018-06-24 Thread Daniel Penkin
Hello, I believe I found a bug in how Git represents a diff when invoked with "--find-copies-harder" parameter. Specifically, the unified diff header of a hunk contains an extra piece of text which appears to be a line from the context (i.e. unchanged line), something like this: > git diff