git/count-delta.h
Junio C Hamano 8597697458 [PATCH] Update rename/copy similarity estimator.
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>
2005-05-24 17:47:05 -07:00

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