From 903d475a0bcde34a03e462b56a77564252876483 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Fri, 27 May 2005 15:53:31 -0700 Subject: [PATCH] Do not expose internal scaling to diff-helper. Instead we can normalize what diff-raw records at the diffcore side. Signed-off-by: Junio C Hamano Signed-off-by: Linus Torvalds --- diff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'diff.c') diff --git a/diff.c b/diff.c index 680b521a8..5031c7d68 100644 --- a/diff.c +++ b/diff.c @@ -886,7 +886,7 @@ void diff_helper_input(unsigned old_mode, if (new_mode) fill_filespec(two, new_sha1, new_mode); dp = diff_queue(&diff_queued_diff, one, two); - dp->score = score; + dp->score = score * MAX_SCORE / 100; dp->status = status; } -- cgit v1.2.1