[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>
This commit is contained in:
Junio C Hamano
2005-06-03 01:36:03 -07:00
committed by Linus Torvalds
parent 5b86040679
commit 355e76a4a3
5 changed files with 40 additions and 25 deletions

View File

@ -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