From: Junio C Hamano Date: Mon, 6 Apr 2009 07:48:49 +0000 (-0700) Subject: sha1-lookup: fix up the assertion message X-Git-Tag: v1.6.3-rc0~6^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1a7b1f6b9c9a129236c66c392877e8697825470f;p=git.git sha1-lookup: fix up the assertion message Signed-off-by: Junio C Hamano --- diff --git a/sha1-lookup.c b/sha1-lookup.c index 055dd87dc..c4dc55d1f 100644 --- a/sha1-lookup.c +++ b/sha1-lookup.c @@ -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)