[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 <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Junio C Hamano
2005-05-27 15:53:31 -07:00
committed by Linus Torvalds
parent 1a0756ffe4
commit 903d475a0b
2 changed files with 1 additions and 3 deletions

2
diff.c
View File

@ -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;
}