From 65416758cd83772f2f3c69f1bd1f501608e64745 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Tue, 28 Feb 2006 16:01:36 -0800 Subject: diffcore-rename: split out the delta counting code. This is to rework diffcore break/rename/copy detection code so that it does not affected when deltifier code gets improved. Signed-off-by: Junio C Hamano --- diffcore.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'diffcore.h') diff --git a/diffcore.h b/diffcore.h index 12cd81659..dba4f1765 100644 --- a/diffcore.h +++ b/diffcore.h @@ -101,4 +101,10 @@ void diff_debug_queue(const char *, struct diff_queue_struct *); #define diff_debug_queue(a,b) do {} while(0) #endif +extern int diffcore_count_changes(void *src, unsigned long src_size, + void *dst, unsigned long dst_size, + unsigned long delta_limit, + unsigned long *src_copied, + unsigned long *literal_added); + #endif -- cgit v1.2.1