[PATCH] Mode only changes from diff.
authorJunio C Hamano <junkio@cox.net>
Wed, 25 May 2005 23:00:04 +0000 (16:00 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 25 May 2005 23:06:24 +0000 (16:06 -0700)
commit9fdade06739af0b3e27422a973ae4fd83e3c918e
tree9112544543b2a807d3ca2cce5f6e4e0d6e391f38
parent96716a197658e069557e7615ce2019107d72225e
[PATCH] Mode only changes from diff.

This fixes another bug.

 - Mode-only changes were pruned incorrectly from the output.
 - Added test to catch the above problem.
 - Normalize rename/copy similarity score in the diff-raw output
   to per-cent, no matter what scale we internally use.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
diff-helper.c
diff.c
t/t4006-diff-mode.sh [new file with mode: 0644]