Skip to content

Commit

Permalink
sha1-lookup: fix up the assertion message
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
gitster committed Apr 6, 2009
1 parent 5289bae commit 1a7b1f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sha1-lookup.c
Expand Up @@ -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)
Expand Down

0 comments on commit 1a7b1f6

Please sign in to comment.