summaryrefslogtreecommitdiff
path: root/diffcore.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-06-03 08:36:03 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-03 18:23:03 (GMT)
commit355e76a4a3c5e49ae15a642806457bce10fe2ef4 (patch)
tree61d1a1313ab1732458e47f55e14d6c1c7f1225ea /diffcore.h
parent5b86040679626e36c12345039f6df62f4622aef2 (diff)
downloadgit-355e76a4a3c5e49ae15a642806457bce10fe2ef4.zip
git-355e76a4a3c5e49ae15a642806457bce10fe2ef4.tar.gz
git-355e76a4a3c5e49ae15a642806457bce10fe2ef4.tar.bz2
[PATCH] Tweak count-delta interface
Make it return copied source and insertion separately, so that later implementation of heuristics can use them more flexibly. This does not change the heuristics implemented in diffcore-rename nor diffcore-break in any way. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'diffcore.h')
-rw-r--r--diffcore.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/diffcore.h b/diffcore.h
index 981ee05..1f4b32c 100644
--- a/diffcore.h
+++ b/diffcore.h
@@ -12,8 +12,6 @@
#define DEFAULT_RENAME_SCORE 30000 /* rename/copy similarity minimum (50%) */
#define DEFAULT_BREAK_SCORE 59400 /* minimum for break to happen (99%)*/
-#define RENAME_DST_MATCHED 01
-
struct diff_filespec {
unsigned char sha1[20];
char *path;