aboutsummaryrefslogtreecommitdiff
path: root/diff-helper.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-05-27 15:53:31 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-29 11:17:43 -0700
commit903d475a0bcde34a03e462b56a77564252876483 (patch)
tree6bd56314877e32e0705120b69334e2b0564ab447 /diff-helper.c
parent1a0756ffe4a4faf2dd70b36c36519d8530d98e7c (diff)
downloadgit-903d475a0bcde34a03e462b56a77564252876483.tar.gz
git-903d475a0bcde34a03e462b56a77564252876483.tar.xz
[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-helper.c')
-rw-r--r--diff-helper.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/diff-helper.c b/diff-helper.c
index 2dd6bdac3..4da2614fc 100644
--- a/diff-helper.c
+++ b/diff-helper.c
@@ -4,7 +4,6 @@
#include "cache.h"
#include "strbuf.h"
#include "diff.h"
-#include "diffcore.h" /* just for MAX_SCORE */
static const char *pickaxe = NULL;
static int line_termination = '\n';
@@ -78,7 +77,6 @@ int main(int ac, const char **av) {
if (status == 'R' || status == 'C') {
two_paths = 1;
sscanf(cp, "%d", &score);
- score = score * MAX_SCORE / 100;
if (line_termination) {
cp = strchr(cp,
inter_name_termination);