Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

sha1-lookup: fix up the assertion message

Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information...
commit 1a7b1f6b9c9a129236c66c392877e8697825470f 1 parent 5289bae
@gitster gitster authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  sha1-lookup.c
View
2  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)
Please sign in to comment.
Something went wrong with that request. Please try again.