summaryrefslogtreecommitdiff
path: root/count-delta.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 /count-delta.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 'count-delta.h')
-rw-r--r--count-delta.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/count-delta.h b/count-delta.h
index 4e6b584..7359629 100644
--- a/count-delta.h
+++ b/count-delta.h
@@ -4,6 +4,7 @@
#ifndef COUNT_DELTA_H
#define COUNT_DELTA_H
-unsigned long count_delta(void *, unsigned long);
+int count_delta(void *, unsigned long,
+ unsigned long *src_copied, unsigned long *literal_added);
#endif