1
0
mirror of https://github.com/git/git synced 2024-07-05 00:58:49 +00:00

sha1-lookup: fix up the assertion message

Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Junio C Hamano 2009-04-06 00:48:49 -07:00
parent 5289bae17f
commit 1a7b1f6b9c

View File

@ -81,7 +81,7 @@ int sha1_pos(const unsigned char *sha1, void *table, size_t nr,
mi = (nr - 1) * (miv - lov) / (hiv - lov);
if (lo <= mi && mi < hi)
break;
die("oops");
die("BUG: assertion failed in binary search");
}
}
if (18 <= ofs)