summaryrefslogtreecommitdiff
path: root/test-date.c
diff options
context:
space:
mode:
authorLibravatar David Kastrup <dak@gnu.org>2007-08-23 07:51:45 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2007-08-23 00:04:10 -0700
commitb1d884a9e3968db1fff91c2d066d871a3b8b013c (patch)
tree9a5c4092d31239dbc315003511c568e5a084efa3 /test-date.c
parentMerge branch 'master' of git://repo.or.cz/git/fastimport (diff)
downloadtgif-b1d884a9e3968db1fff91c2d066d871a3b8b013c.tar.xz
diff-delta.c: Fix broken skip calculation.
A particularly bad case was HASH_LIMIT <= hash_count[i] < 2*HASH_LIMIT: in that case, only a single hash survived. For larger cases, 2*HASH_LIMIT was the actual limiting value after pruning. Signed-off-by: David Kastrup <dak@gnu.org> Acked-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-date.c')
0 files changed, 0 insertions, 0 deletions