X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=diff-delta.c;h=0dde2f2dc032863b154509f5b966cfafb01dd722;hb=10455d2a955a29db1809be139177e4e298771eb0;hp=3af583536f2ee9f2d1f2fd699148ff16166dc932;hpb=c1c10a3f272ec0908e63bc105a5ffe94c1279fba;p=git.git diff --git a/diff-delta.c b/diff-delta.c index 3af583536..0dde2f2dc 100644 --- a/diff-delta.c +++ b/diff-delta.c @@ -213,7 +213,7 @@ struct delta_index * create_delta_index(const void *buf, unsigned long bufsize) entry = hash[i]; do { struct index_entry *keep = entry; - int skip = hash_count[i] / HASH_LIMIT / 2; + int skip = hash_count[i] / HASH_LIMIT; do { entry = entry->next; } while(--skip && entry);