From 1a7b1f6b9c9a129236c66c392877e8697825470f Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Mon, 6 Apr 2009 00:48:49 -0700 Subject: [PATCH] sha1-lookup: fix up the assertion message Signed-off-by: Junio C Hamano --- sha1-lookup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.26.2