8597697458
The second round similarity estimator simply used the size of the xdelta itself to estimate the extent of damage. This patch keeps that logic to detect big insertions to terminate the check early, but otherwise looks at the generated delta in order to estimate the extent of edit more accurately. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
10 lines
147 B
C
10 lines
147 B
C
/*
|
|
* Copyright (C) 2005 Junio C Hamano
|
|
*/
|
|
#ifndef COUNT_DELTA_H
|
|
#define COUNT_DELTA_H
|
|
|
|
unsigned long count_delta(void *, unsigned long);
|
|
|
|
#endif
|