mirror of
https://github.com/git-for-windows/git.git
synced 2026-05-29 22:43:24 -05:00
Merge branch 'cc/sha1-bsearch'
* cc/sha1-bsearch: sha1-lookup: fix up the assertion message
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user