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>2006-03-01 03:01:36 +0300
committerJunio C Hamano <junkio@cox.net>2006-03-01 07:20:04 +0300
commit65416758cd83772f2f3c69f1bd1f501608e64745 (patch)
treef485bb85d2c949372344265842466669d0a167d0 /diffcore.h
parentaeecd23ae2785a0462d42191974e9d9a8e439fbe (diff)
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 <junkio@cox.net>
Diffstat (limited to 'diffcore.h')
-rw-r--r--diffcore.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/diffcore.h b/diffcore.h
index 12cd816591..dba4f17658 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