aboutsummaryrefslogtreecommitdiff
path: root/sha1-lookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'sha1-lookup.c')
-rw-r--r--sha1-lookup.c2
1 files changed, 1 insertions, 1 deletions
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)