Fix typos / spelling in comments
[gitweb.git] / sha1-lookup.c
index 055dd87dc177864491905c692907ebbce059ae7e..c4dc55d1f5cd07adcf46865354f841cc587c51f6 100644 (file)
@@ -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)