[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:

committed by
Linus Torvalds

parent
5b86040679
commit
355e76a4a3
@ -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
|
||||
|
Reference in New Issue
Block a user