[PATCH] diffcore-pickaxe: switch to "counting" behaviour.
authorJunio C Hamano <junkio@cox.net>
Sat, 23 Jul 2005 23:35:25 +0000 (16:35 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 24 Jul 2005 03:27:49 +0000 (20:27 -0700)
commit2002eed6c9e0e08d7a30da38e459b92f7808b319
tree24e63c40e75765318de1e1f9117aa427dc862e0d
parent399144f21c1b3bcd4c9dadd4f534118475de840d
[PATCH] diffcore-pickaxe: switch to "counting" behaviour.

Instead of finding old/new pair that one side has and the
other side does not have the specified string, find old/new pair
that contains the specified string as a substring different
number of times.  This would still not catch a case where you
introduce two static variable declarations and remove two static
function definitions from a file with -S"static", but would make
it behave a bit more intuitively.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
diffcore-pickaxe.c