mirror of
https://github.com/git/git.git
synced 2026-01-22 14:57:18 +09:00
Merge branch 'cc/sha1-bsearch'
* cc/sha1-bsearch: sha1-lookup: fix up the assertion message
This commit is contained in:
commit
07fb030efc
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user