@matheusbsbs / matheus-bagliano / commits / 1a7b1f6b9c
Fork 0

sha1-lookup: fix up the assertion message

Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano committed Apr 6, 2009 at 00:48 UTC 1a7b1f6b9c9a129236c66c392877e8697825470f
1 file changed +1 -1
sha1-lookup.c
+1 -1
@@ -81,7 +81,7 @@ int sha1_pos(const unsigned char *sha1, void *table, size_t nr,
81 mi = (nr - 1) * (miv - lov) / (hiv - lov);
82 if (lo <= mi && mi < hi)
83 break;
84 - die("oops");
84 + die("BUG: assertion failed in binary search");
85 }
86 }
87 if (18 <= ofs)