Skip to content

Commit

Permalink
Merge branch 'cc/sha1-bsearch'
Browse files Browse the repository at this point in the history
* cc/sha1-bsearch:
  sha1-lookup: fix up the assertion message
  • Loading branch information
Junio C Hamano committed Apr 12, 2009
2 parents 6e353a5 + 1a7b1f6 commit 07fb030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sha1-lookup.c
Original file line number Diff line number Diff line change
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 07fb030

Please sign in to comment.