diffcore-break/diffcore-rename: integer overflow.
authorJunio C Hamano <junkio@cox.net>
Mon, 16 Jan 2006 05:08:42 +0000 (21:08 -0800)
committerJunio C Hamano <junkio@cox.net>
Mon, 16 Jan 2006 05:08:42 +0000 (21:08 -0800)
commitee3d299e93450586d12f099913261ec22849365a
treecbffa1c279a929a1d03801dadfe3375f10482a9e
parenta0dfb48af73a98ceb60629f2bbc4ebf1393ba0af
diffcore-break/diffcore-rename: integer overflow.

While reviewing the end user tutorial rewrite by J. Bruce
Fields, I noticed that "git-diff-tree -B -C" did not correctly
break the total rewrite of Documentation/tutorial.txt.  It turns
out that we had integer overflow during the break score
computations.

Cop out by using floating point.  This is not a kernel.

Signed-off-by: Junio C Hamano <junkio@cox.net>
diffcore.h