Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-05-28 02:53:31 +0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-29 22:17:43 +0400
commit903d475a0bcde34a03e462b56a77564252876483 (patch)
tree6bd56314877e32e0705120b69334e2b0564ab447 /diff-helper.c
parent1a0756ffe4a4faf2dd70b36c36519d8530d98e7c (diff)
[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 2dd6bdac33..4da2614fc6 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);