diff options
author | Junio C Hamano <junkio@cox.net> | 2005-05-27 15:53:31 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-29 11:17:43 -0700 |
commit | 903d475a0bcde34a03e462b56a77564252876483 (patch) | |
tree | 6bd56314877e32e0705120b69334e2b0564ab447 /diff.c | |
parent | 1a0756ffe4a4faf2dd70b36c36519d8530d98e7c (diff) | |
download | git-903d475a0bcde34a03e462b56a77564252876483.tar.gz |
[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>
Diffstat (limited to 'diff.c')
-rw-r--r-- | diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |