On 2/8/2016 8:18 PM, Tamas K Lengyel wrote:


On Mon, Feb 8, 2016 at 9:57 AM, Corneliu ZUZU <cz...@bitdefender.com <mailto:cz...@bitdefender.com>> wrote:

    (last commit before this one explains why this was necessary)

    Signed-off-by: Corneliu ZUZU <cz...@bitdefender.com
    <mailto:cz...@bitdefender.com>>


I assume this patch will be gone in the next iteration after using -M so skipping it now.

Tamas


No, originally I intended to use the -M option, I just forgot.
This is needed even w/ the -M option.
The reason is git seeing file <somepath1>/a.c  as being modified
when moving it to <somepath2>/a.c and at the same time adding
<somepath1>/a.c in place of the old one, *even if* the similarity
between the old <somepath1>/a.c and <somepath2>/a.c would be *100%*
and you'd use the -M option. A google-search led me to a 2009-dated page
that described this as a lack of git diff's algo that would be improved upon.
It seems they aren't there yet.

Corneliu.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to